Hello, I am new to this library and generally with three.js. How would I add collision to a object/mesh that was created and imported from blender (gltf)? For example, lets say I build a castle object in blender, and I want to walk around that castle (ramps, stairs and all) via FPS point of view an controls. How would I go about doing that.
I started playing around with adding collision to objects imported from blender, but it doesn’t seem to work… my player can still go through the mesh. I add collision to my player, and I know it works because I tested the player collision on the native boxes (with useBox) not imported from blender.
I guess whats the issue here, is that a .gltf-model uses a empty “pseudo”-Mesh (root) without any vertices to collide. You would have to add collision on its child mesh (actual box mesh with vertices).