#movement doesnt follow the direction
1 messages · Page 1 of 1 (latest)
but on this new project
it doesnt work
here are my 2 script
the parent and child relationship
the character is the model and rigidbody
and both of the script is on the character
- You should not be modifying the velocity of a rigidbody. Use
AddForce - It's doing exactly what you told it to do - it's moving along the X axis at a rate of
moveHorizontaland the Z axis at a rate ofmoveVertical. This is in world space
ok
how would i change the second one
jsut give me a direction where to change
Base it on the transform's facing direction (forward/right properties)
ok
ill see what i can do with it
@surreal sorrel
will this work
or its also the unity editor issue too
That is one way of doing it
i tried it
it still the same
that it doesnt go base on the direction
so im not too sure