-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
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 additional Rapier physics examples #30818
Conversation
I'm guessing the failed comparison of the screenshot physics_rapier_basic is because it uses a randomised colour for the dropping bodies. I've added an exception. |
Do you mind updating the basic visuals of the demos so they match physics_ammo_break? Specifically, use the background and floor setup from the ammo demo. That should make the scenes brighter and friendlier. |
Please add the new examples to the Line 11 in 94f1548
|
Fix code style.
…into RapierExamples2
I've added 4 additional Rapier Physics examples
physics_rapier_basic.html - simple example of using rapier
physics_rapier_joints.html - example of using rapier joints
physics_rapier_character_controller.html - using a rapier character controller to use a collider under user control
physics_rapier_vehicle_controller.html - using rapier DynamicRaycasrVehicleController to create a car example
Adapted jsm/physics/RapierPhysics.js added more geometry to collider options and a debugger class that displays all colliders as outlines