Physics related stuff #1113
Closed
bootkernel
started this conversation in
General
Replies: 1 comment
-
Closing this as I realized Physics is deprecated! |
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
-
I was experimenting with the physics, and was trying to grab a physics enabled cube with my hands, but wasn't able to as the cube was constantly getting away as soon as my hand collided with it. In the documentation, it says that the hand is a single block collider - I'm guessing it was because of that?
So I tried to disable the physics for that particular cube that I'm trying to grab with solid_set_enabled(). While that worked, I'm not sure why this keeps happening (~20s onwards):
output.webm
I'm generating 10 cubes here, everytime I'm grabbing a cube, I disable the physics for that particular cube and teleport that cube to my hand position until it is released but it seems it's freezing the physics states of other cubes sometimes, not sure what's happening - if it's actually a correct way to achieve this or if it's purely a logical issue?! Here's basically what I'm doing:
Beta Was this translation helpful? Give feedback.
All reactions