|
Post by peubraw on Aug 21, 2016 23:11:49 GMT
Hello,
Im facing some jumping problems with the variable "OnGround" ... The thing is: it only works when the character jump on the same place (OnGround turns from true to false) but when I try to run and jump the OnGround continue to show as "true".
The other issue I'm having is a question:
I would like to have the jump without the possibility to change its direction in the air... where should I look to modify it ? "jump air control" should do the job right? But it isnt working, when unchecked I can still control the character while jumping... :(
Thx in advance for all the help !
|
|
|
Post by Invector on Aug 23, 2016 17:25:55 GMT
You can create a condition on the ThirdPersonMotor script FreeMovement method, like if(isJumping || !OnGround) the character can't rotate.
|
|