Jump to content

ThreeJS Collisions and Impostors


Testouille
 Share

Recommended Posts

Hello guys,

I just wanted to know what's the best way to check with 100% accuracy for collisions in ThreeJS ?

I'm new, but I'm not afraid of long formulas or bad documented code.

 

As I found nothing, I was wondering about implementing sphere-sphere collisions (easy), then sphere-face collisions (I can do sphere-plane collisions easily, don't know about sphere-face), and finally then face-face collisions (I can do plane-plane collisions easily, don't know about face-face).

A little optimisation would be to check only collisions with faces which normals are opposed.

 

But coding all of this takes time, so I was wondering if someone already made such a thing. (And I think so, else, it would be very disturbing)

 

 

Thanks for your answers !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...