i want to add that. i don’t want to use the scripts that come with unity. cause i learn better if i write down and understand the code. and i want to understand what is happening. i don’t just want an end result ![]()
thanks for the help in advance ![]()
i want to add that. i don’t want to use the scripts that come with unity. cause i learn better if i write down and understand the code. and i want to understand what is happening. i don’t just want an end result ![]()
thanks for the help in advance ![]()
Since you’re using a rigidbody, instead of doing Transform.Translate() in your movement script. Try to use rigidbody forces like
Rigidbody.AddForce or modify the velocity directly with RigidBody.Velocity.