CsabaConsulting / ARPhysics

Testing Physics engines with AR
MIT License
2 stars 0 forks source link

Add an experimental scenario of random objects inside a collision bin #6

Closed MrCsabaToth closed 4 years ago

MrCsabaToth commented 4 years ago

Reference: https://www.youtube.com/watch?v=PfCZEQxTvqA https://github.com/schteppe/gpu-physics.js/

I could randomly scatter a bunch of planks bounded by a rectangular 1 meter x 1 meter box. Then place an extra giant “hockey puck” which would be a Sceneform TransformableNode. The user would be able to grab that hockey puck and yank it around inside the collision bin: that would stir the objects within the box. On the Bullet physics end the puck would be a so called “Kinematic object” so the physics engine would not be able to move it, but the controller layer would move it based on the user’s gestures.

MrCsabaToth commented 4 years ago

The MVP is implemented for this