Question by
Relan42 · May 16 at 05:56 PM ·
rigidbody2dchild objectkinematic
How to add speed to a child kinematic rigid body?
i'm trying to make a child game object move alongside the player, but I also want that object to have velocity relative to the player. So I tried to make the object a child of the player. If the object's rigidbody is set to dynamic it doesn't move alongside the player. If I set it to kinematic it does move with the player, but I can't change it's velocity. Is there a way for me to change the velocity of the object relative to the player? I tried adding the player's velocity with object set to dynamic, but if the player moves too fast it starts to offset.
Comment