Prevent gltf model and FP Controller collide

Hi, I have a gltf 3dmodel and a first-person controller that uses PointerLockControls.now I want to prevent the collision of these two objects. as I understand for 3d physics I should work with cannonjs, but how can I do this?
and sorry because of my poor English too.

For basic collision detection tests you don’t need a physics engine. I suggest you study simple bounding volumes like bounding spheres and AABBs as well as the respective intersection tests. Depending on the use case, such simple bounding volumes are already sufficient.

Besides, you can also use a navigation mesh to restrict the player’s movement and thus create the illusion of proper collision detection.

2 Likes