Skip to main content

5. 2.5D Movement

Entity following a path along terrain smoothly.

This sample shows usage of Move25DSystem. This system allows movement on ground. Paired with CollideAndSlideSystem it is similar to Unity's CharacterController. It handles steps and gradual speeding up and down depending on whether the entity travels up- or down-hill. The CollideAndSlideSystem makes sure the entity does not travel through colliders. It can also be used with other Movement Systems, it's usage shown in the collisions sample.

Minimal Setup folder


Subscene 1

This subscene contains a large number of test cases and is ideal to experiment with different configurations of Movement25DAuthoring. In the scene, a path is set up through the whole course which an entity follows.

Description of the image

Subscene 2

This subscene shows different settings for MaxAngleToSlide and StepHeight. You can observe that lower values can cause the entities to get stuck in extreme cases.

Description of the image