- Home /
How to stop child movement due to collision.
I have a "lawnmower " that is a child to the player. it works fine until I bump into a wall. since my movement is linked to my player he tries to walk closer to the wall and just pushes the lawnmower block which stays that way even if I move away from the wall.
Comment
You could freeze rotation on your lawnmover rigidbody. This prevents rotation in local space only while still allowing it to rotate globally to align with your player
Your answer
Follow this Question
Related Questions
Make a simple tree 1 Answer
How to destroy a parent object when child object is collided 1 Answer
How to detect child object collisions on parent 3 Answers
OnCollisionEnter not registering on children 0 Answers
detect collision on child 1 Answer