Pushing boxes has never been easier

Is your Character Controller unable to move objects? Do not worry! It’s simpler than you think. You’ll just need to add a Rigidbody to your GameObjects you want to move.

If the Character Controller hits a GameObject with a Rigidbody, we’ll add a force to it which is the Character Controller move direction multiplied by a push power force. And that’s it! Really.

An extra little boost to reach new heights!

A very quick article! If you haven’t read the previous article which delves on my own implementation of this particular controller, go read it!

Adding a double jump is incredibly easy. In the same Input method, just add an else if below the normal jump conditional, check if the player has double-jumped, and add the double jump functionality there. As simple as that. There’s nothing much to say here, so I’ve commented the code with everything you need to know.

Pablo Gómez Platón

Pablo Gómez Platón

I am a recently graduated Game Designer with strong knowledge of the Unity Engine! You can check my game “Noise Hunters” on Steam!