Playground - Basic character-controller - stands still on sloped ground

The moveWithCollisions() method of meshes now includes an optional parameter, slideOnCollide, to stop movement at the first collision, instead of sliding along it. This is useful for a character controller that handles standing immobile on a sloped ground.

Here is a demo for such a character-controller.

3 Likes