-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Added Rapier example #25892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Rapier example #25892
Conversation
|
|
||
| } | ||
|
|
||
| function compose( position, quaternion, array, index ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use new Matrix4().compose( position, quaternion, new Vector3() ).toArray( array, index ) instead of this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, when I did the original physics wrapper there was no import maps. Should be much cleaner now.
|
On Pixel 7...
|
* Added Rapier example. * Updated screenshot. * Fixed DeepScan issue. * RapeirPhysics: Added world.timestep.
Description
I've noticed the community is moving to Rapier so I wanted to have an example so we could compare.
It's nice that Rapier is actively maintained and the
RapierPhysics.jsis way less verbose.