Hi all. I have been coding for around 3 years now and still do not understand movements :(. I just cant get to grips with them either rigidbodies, translations etc it just does not make sense in my head. Are there any tutorials out there that actually explain what the code is doing and not just showing you what to do as i like to get a real understanding of what it is i am doing. I feel like an utter noob for asking this question but it is really annoying me that i don’t understand it.
I have to admit I have not got to grips entirely with the Unity physics. In fact out of the box I think its a load of… so I usually just wind up writing my own from scratch, as do most people by the looks of things.
Is there something in particular you are finding difficult simulating? A vehicle moving, a character moving? Both would require a slightly different solution in anything beyond a very basic case.
I tend to disable gravity, and roll my own. Disable collisions. Use raycasting as a rudimentary sensing system to figure out orientation, collisions etc. Then set orientation using Slerping, and then apply a force on the rigidbody.
I suggest you to start a new project, dont use any pre made code, just add a character controller at a cilinder and start scriping a simple thing, move it along the axis with a vector3 and charactercontroller.simplemove()
Once you fugure how to use both toggeter you’ll start to understand.
Its really trying to get there. Good luck