Hello Unity Community!
I have just bought the Walk Animset Basic by Kubold
I am very new to 3d animations I have added the asset to the character and I now want to make a simple character controller in order for my character to walk properly,
However no matter what I do the character movement is all over the place,
the readme file of the asset has these 4 variables that says we can use:
InputMagnitude This is a float that should be controlled by Input Axis Vector Magnitude (so for example, how far is the joystick bent). It controls the transitions between Idling and Walking.
InputDirection This is a float that should be controlled by the angle between character’s Forward Axis and the Input Axis Vector. So for example, if the joystick is bent right, the angle will be 90 degrees, if back, the angle will be 180 degrees and so on.
IsRightLegUp This is a bool that should be controlled by which foot is currently higher in a walk cycle, so the controller knows which animation it should play while stopping. Easiest way to get this info is checking which foot bone has a bigger Global Transform Y at the moment. So, if right foot is higher - we change IsRightLegUp to true.
RotationDirection This is a float that should be controlled by the angle between character’s Forward Axis and the desired character’s rotation. So basically, it controls turning in place. So, when the character is idling - you can control his turning by animation. If the character is walking - you need to control his rotation by SmoothLookAt.
Has Anyone used it?
can someone provide me with a simple controller so I can see how its supposed to work?
Thanks in advance