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.
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.