Did you know that the Operator originally was part of another extension? It was. And now it’s time to share that extension .
I tried to figure out how to resolve collisions of the 3d character with level geometry and this is what I got.
Kinematic Walker
This is a tweakable kinematic character controller suitable for 3D games. When you wouldn’t like to use a dynamic body and prefer to have more control over the movement.
Although not all the collision cases are handled perfect at the moment, you can avoid problems by providing valid and smooth collision geometry of your level. The geometry in the demo is not smooth exclusively for stress testing purposes.
Ready to use with Operator or you own camera controller.
Play HTML5 demo to walk around the sandbox level with .
Features
- Collision resolving with level geometry.
- Walking and running.
- Jumping and crouching.
- Climbing slopes and curbs.
- Smooth acceleration and deceleration.
- Internal control with key bindings.
- External manual control with messages.
- Spectator mode.
Documentation
Full documentation is available in the GitHub repository.