Quantcast
Viewing latest article 5
Browse Latest Browse All 16

Rigidbody slowly moves

My player in my game has a rigidbody attatched to him. I use the AddForce function to move him around. I also have a terrain set up. My drag variable of the rigidbody is set to 4 and it has a mass of 1. Gravity is true. The Gravity var moved my player to slowly so I also added a constant force with a -40y force. Everything works great but when I look down or up the player slowly creeps forward when looking down or backwards when looking up. I look around with the mouselook script from the character controllers package. I was wondering is there a way to stop this from happening. The player has a capsule collider also.

Viewing latest article 5
Browse Latest Browse All 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>