Example for boxes in no gravity. #80
-
Is there an example for useBox's to interact with each other in 0 G. I know you can set the gravity to [0,0,0] on the Physics component. But the boxes, should then move to each other. Code: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't think this library can provide theoretically-accurate physics for you; bodies do not simulate their own gravitational attraction, unfortunately. You can, however, apply a force to every body to simulate this on every frame. |
Beta Was this translation helpful? Give feedback.
-
There was also some discussion about an I'm also interested in updating the API to support world event calls, but have to find the time. |
Beta Was this translation helpful? Give feedback.
I don't think this library can provide theoretically-accurate physics for you; bodies do not simulate their own gravitational attraction, unfortunately. You can, however, apply a force to every body to simulate this on every frame.