Animation and collider not working at the same time. If an object is moving with animation, it does not crash. I did a lot of research on this but couldn’t find a solution. Can you help me?
Yes animations are not checking collisions for performance reason.
You then have two options:
- Do not animate but instead call 'mesh.moveWithCollisions` (Camera Collisions | Babylon.js Documentation)
- Do a manual intersection check on every frame: Mesh Intersections | Babylon.js Documentation
3 Likes
Hello @farukcelim just checking in, was your question answered?
1 Like
Yes. Unfortunately, not everything I dreamed of was possible :).