What is the best way to move an object with the player? Or to make player push and pull and object?
I am trying to get a player pull and push objects in my 3D game. I am mainly focusing on pulling and pushing a box. Now when a player collides with a box and the E key is pressed the isKinematic of the box becomes false, and the player is able to move the box with its own mass.
I am trying to implement a basic pull and push interaction of the object. I have been thinking moving the box along with the movement of the player based on the WASD input but it doesn't sound stable, which road should I take here? Should I use a Fixed Joint connect them? I tried putting the fixed joint the box and making the connected body the player, but now the player is not able to move like there is a collision around it.
What is the best way to implement this? Should I use Fixed Joint or take a different way? Thanks.
Your answer

Follow this Question
Related Questions
pick up an object and give it an animation 0 Answers
Forcing interaction with a gameobject 1 Answer
Grasping an object with a robotic arm 1 Answer
block joint 0 Answers
Interactive unconscious person pointers? 0 Answers