Hello guys, I have recently started digging into unity. I want to make a small project where you walk around a box and shoot things, but I’m getting some undesired effects.
When I press play and walk into a wall, the object starts flying everywhere.
I know that doesn’t really help, so I have attached a link to the project
https://www.dropbox.com/s/5ydegx5esg2ovkc/The%20box.zip?dl=0
Edit:
The object is the player (just the camera), I’ve made it move with WASD. Removing rigidbody makes the object go through the walls setting iskinemtaic to the object makes it go through walls. Changing the weight doesn’t remove the problem.
I have done some testing and found out that the effect is not present when I have the script for mouselook disabled
The script was not made by me, but I can not find anything that would effect its position.