Momentum uses the default components that come with the Unity Game Engine, namely Rigidbody2d and BoxCollider2D. It uses a combination of setting the velocity directly (Rigidbody2D.velocity
) and using the AddForce function (RigidBody2D.AddForce()
).
This allows the player to interact with any other components that have a RigidBody2d
and BoxCollider2D
.