richardbiely / Voxelmetric

An efficient voxel framework for Unity3d
GNU General Public License v3.0
158 stars 27 forks source link

Can't add a player controller. #58

Closed llDunno closed 6 years ago

llDunno commented 6 years ago

I've been trying to add a player controller with a model and I only ever end up with it skating around or even falling through the world. I'm new to unity so let me know what info you need.

richardbiely commented 6 years ago

Hi, for questions about basic Unity3D operations I recommend consulting Unity3D's documentation or tutorials.

As far as Voxe(lmetric) is concerned, colliders are currently generated for closest chunks around the camera. Requests for collider are controlled via chunk's NeedsCollider variable. Navigate to ProcessChunk method of you chunk loader (LoadChunksSimple by default) and modify it as needed.