Hello everyone ,
I make a demo , learn from a open game “KO”.
After I import character to scene, it can be control to move , and the physics is well when collision happen.
But the confusion to me is : gravity invalid for the character.
My core code here (Hero inherit from Controller):
Hero->
Controller->
And load scene code:
scene in editor:
when game running , character in sky ,do not drop to ground, everything else is normal
someone can help me ,thanks !
1 Like
Eugene
August 20, 2017, 6:59pm
#2
I see that you intentionally disabled rigid body movement along Y axis (linear factor)
oh oh,thanks very much, I am so sorry , I have not understand the LinearFactor before .
But now ,you see that AngularFactor is UP , it is only rotation on Y axis?
why my character will fall when it walk on ground not flat ?
Eugene
August 20, 2017, 9:13pm
#4
I don’t know. Try to set angular factor to zero. You probably don’t need even yaw rotation for the collider.