Comments (10)
tsc also crashes locally for me so at least thatβs not nexts fault. Thanks!
from react-three-rapier.
The demos
are really only a test-bed for debugging currently, not exactly intended for public consumption.
Since the /demo
is relying on preconstruct I'm not sure how that would work in a vercel-setting π€
What I really want is some CodeSandbox examples for these things.
from react-three-rapier.
@isaac-mason For sure! Help always appreciated. I'm spending most of my time working on the API when I get chances.
from react-three-rapier.
Thanks for helping with this!
I'll clear up the tsc issues for the demos.
From what I can tell the https://react-three-rapier-git-feat-deprecate-hook-api-pmndrs.vercel.app/, which should be based on the branch, is actually using what looks to be the latest published version of r3/rapier -- so the Kinematics-demo does not work accurately (the torus should be spinning in the latest version).
Defeats the purpose of the preview deployments. Anything that can be done there?
from react-three-rapier.
Redeployed this now: https://react-three-rapier-git-feat-deprecate-hook-api-pmndrs.vercel.app/
@wiledal let me know if that looks right π
from react-three-rapier.
Yes! Looks good!
Closing this thread π€ π₯³
from react-three-rapier.
Vercel should work fine with anything - you can supply any bash command for your build and a directory to upload.
CodeSandbox examples are probably more ideal for public demos, but I personally also find having built examples in PRs handy.
I'm happy to lend a hand setting it up if you're keen π
from react-three-rapier.
@Glavin001 @isaac-mason i added it to next https://react-three-rapier.pmnd.rs/ but do you know why it chokes on "@react-three/rapier: "*" in package.json? with preconstruct this is how it's supposed to be but next seems to dislike it. i added a hacky yarn add @react-three/rapier to the build config, that's why it "works" but it should be able to pull in from /src.
from react-three-rapier.
@drcmda should be fixed now!
I had to change the root directory from demo
to the repo root & update the output folder.
Then changed the build command to this:
yarn build && cd demo && npx vite build
Ideally we'd also run tsc
(part of the demo package yarn build
) to type check but there are some type errors right now.
from react-three-rapier.
No worries!
With my change, new deployments should use the @react-three/rapier build from the branch - I'll see if I can re-run that preview deployment to make sure!
from react-three-rapier.
Related Issues (20)
- How to update center of origin position? HOT 1
- RigidBody Hull & Trimesh Colliders resulting in errors HOT 1
- RigidBody Colliders are not updated. HOT 2
- Colliders on PathExtrusionGeometry
- Ghost RigidBody after using setNextKinematicRotation HOT 2
- Does react-three-rapier support RN app? HOT 10
- <CuboidCollider /> component doesn't get rerender! HOT 2
- Can i get the complete control of "when Rapier does run"? HOT 1
- Collider Scale and Position to RigidBody having no effect HOT 4
- Website is broken. HOT 2
- Some Demos are laggy in Edge browser. Is it only me? HOT 3
- PrismaticJointParams donβt match up with usePrismaticJoint HOT 3
- How can I apply RigidBody to extrudeGeometry? HOT 1
- Restore world from snapshot HOT 3
- How i can load RigidBody in order HOT 2
- How to apply forces to dynamically created RigidBodies? HOT 1
- Ball Collider Fails to Interact with HeightfieldCollider in React Three Rapier
- CollisionPayload - event and other types not directly available. HOT 5
- is there an option to recompute the world base on fiber's scene change?
- Make Rapier instance available outside React/hooks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-three-rapier.