First things first, before we talk about what is new, we must talk about a problem present in our Movement script from before, a problem that showed up once jumping was implemented.
Trying to move towards a direction, while being blocked by a wall, was causing some jitteriness, and even worse, it wa…
For our first goal, to allow the player to move sideways, forward and backward. The approach chosen is to accumulate inputs from normal frames, and apply them on the physics frames.
Both GetInputs() and AcumulateDelocation() are called on Update, and OperatePhysicsMovement() is called on FixedUpdat…
Advertisement
Popular Blogs
Advertisement
Advertisement