Quantcast
Viewing all articles
Browse latest Browse all 38

Change velocity of Character Controller

I am using a character controller as my main character in my game and I would like to be able to randomly change his velocity based on how much he falls. I can detect his velocity be calling charactercontroller.velocity, but when I try to set this equal to a variable, unity tells me that charactercontroller.velocity is read only. Can I only get this function if I use a rigidbody as my character? Thanks.


Viewing all articles
Browse latest Browse all 38

Trending Articles



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