Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Grab ball that is attached to rope
#5
(21-12-2020, 08:52 AM)josemendez Wrote: Obi is aimed at advanced users, so you might have a hard time using it if you're not familiar with how physics work. Just a forewarning. Don't be discouraged though!


Yes, that's the standard approach to "grabbing" rigidbodies (regardless of them being constrained by rope/joints of not). You should enable it right when all "grab" conditions are met (the ball is close to the player's hand, and the player has pressed the "grab" button/key or something like that)  and disable it once they aren't. The exact time duding the frame at which you enable/disable it isn't very important: if physics have already been updated during that frame, the change will be made effective during the next frame.

This is a game I've been wanting to make for a while now, so I'm definitely willing to do whatever it takes to learn!

Thank you for the clarification. No more questions for now Sonrisa.
Reply


Messages In This Thread
Grab ball that is attached to rope - by Navvv - 19-12-2020, 03:53 AM
RE: Grab ball that is attached to rope - by Navvv - 19-12-2020, 10:23 PM
RE: Grab ball that is attached to rope - by Navvv - 21-12-2020, 09:12 PM