Making one body push another using physics

Use

    mesh.physicsBody.setPrestepType(BABYLON.PhysicsPrestepType.ACTION)

Here’s an example of a character controller I’m working on, using gltf exported animations to interact with physics.

https://character-7vo.pages.dev

4 Likes