Replies: 1 comment
-
Sorry, just realized I posted this on the wrong repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I want to create a little isometric sidescroller game. I envisioned drone enemies that just move on the horizontal plane and once you hit them, gravity should be enabled and they should fall to the ground.
im having a hard time to get this working as it should.
So my first idea was to use a state for the RigidBody type prop, and switch it on on a delay to test it. But that doesnt seem to work. Ive found this issue: pmndrs/react-three-rapier#314 so it seems like a bug and that this should work.
Any other idea how I could achieve the enabling/disabling of gravity for a RigidBody programmatically?
Beta Was this translation helpful? Give feedback.
All reactions