Quantcast
Channel: Latest Questions by Macdude2
Viewing all articles
Browse latest Browse all 38

Change velocity of Character Controller

$
0
0

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