Kinematic-Dynamic

How do you turn a kinematic body to a dynamic with code? I want to make it when you shoot the basketball it turns into a dynamic, unparents itself and goes to the hoop(cone)

Here is the link to the game:PlayCanvas | HTML5 Game Engine
You move by WASD and turn the camera by arrow keys. Help is appreciated. Please and thank you.

Hi @jus.co_ding_me_23,

Perhaps this topic can help you out on how to change your rigidbody type via code, please have a look at it.

1 Like

Thank you @DevilZ this is really helpful.

1 Like