- Home /
Voxel engine physics 3rd person character controller
Hey all,
I have a voxel engine with terrain and a Platform Character Controller attached to my character. The problem is that I want to have the player collide with the world but it falls through. I can add a mesh collider to the chunks but it will not be optimal performancewise and I've heard its not good for when the chunk is updated since mesh colliders dont work well with changing meshes.
Does anyone know how I can approach this and give examples and / or resources?
Answer by Bunnybomb7670 · May 22, 2013 at 01:07 PM
You can have your mesh use a mesh collider and update it when the mesh updates , My engine : Here uses this system and it does not affect performance, it wont cause issues as long as you reset the collider when you update your mesh.