How would I go about making one of my character’s hand pick up a ball and then drop it or throw it later?
Is this possible in Panda3D? Sorry I’m kind of new to this.
Hey, welcome to the forums!
Sure, this is possible. When the player picks up the object, the object can be attached to the hand using wrtReparentTo (also see the Looking and Gripping sample, it shows how to attach objects to a part of the body).
Oh great. Then suppose I want to throw the ball that I’ve just picked up. Can I just detach the ball from the hand and let the physics engine take over?
I’m trying to make a “game” where the user controls a virtual hand that can pick up objects in the virtual environment and mess around with them.
Thanks for the feedback.
You can try using the CollisionHandlerFloor with a collisionRay panda3d.org/manual/index.ph … n_Handlers
panda3d.org/manual/index.ph … ion_Solids
for that