Sideways force calculation with 8 directional movement
Hi there!
Im trying to figure out how to make 8 directional movement work with force. I tried taking the square root of the combined squared force of each of the two axis it's moving along, but that didnt work.
I realised it doesnt work because force doesnt increase speed in a linear way, but I dont know how I fix my problem now.
Does anyone have an idea?
Thanks in advance!
This gives me absolutely no info that I can use.
Ins$$anonymous$$d of using force and rigidbody, you call update transform && rigidbody velocity based on player input that control acceleration speed in direction you choose.
This make the controller look smooth like how driving a car work
https://answers.unity.com/questions/29751/gradually-moving-an-object-up-to-speed-rather-then.html
Your answer
Follow this Question
Related Questions
Animations get screwed up when I add OnAnimatorMove function 0 Answers
How to move whilst airborne (using standard third person character script)? 0 Answers
Rotate sphere to the direction of movement 0 Answers
camera movement on a sphere 0 Answers
Issue with getting the mouse position in 3D and moving a gameobject on the y & z axis 0 Answers