- Home /
How can i prevent my player's gameobject from climbing when colliding against an obstacle
Hello there, so i have this player prefab which has its own script to move and take care of other things which works as intended, but when i tried to set boundaries to restrict an area area i noticed that when the player collides against the boundaries, it starts climbing them, both the player and the obstacle that serves as a boundarie have a rigidbody and collider.
Any help would be appreciated
can you share a bit more information on your setup? what kind of colliders are we talking about? Can you add an image?
Here is the obstacle's colliders and rigidbody https://answers.unity.com/storage/temp/183535-f89c155845d3da65eaf9943623bb18a6.png
Here is the player's collider and rigidbody https://answers.unity.com/storage/temp/183536-9fa405a0acbccecda6b309e7184f43ad.png https://answers.unity.com/storage/temp/183537-db2b7c41ca32b7cc242962c80796b446.png
im sorry but all these images are simply small white squares and provide no real information....or that might be some glitch with me....but i can't see any of these pictures
Your answer
Follow this Question
Related Questions
oncollisionenter2d always collides 2 Answers
Different particles for different collisions. 1 Answer
Elastic Collisions with Rigidbodies 1 Answer
Check collisions with more than one enemy? 1 Answer
Help with a killbox 1 Answer