Jump to content

onCollide pass-through or ghost like collisions


cefleet
 Share

Recommended Posts

I'm trying to make a ghost-like mesh where I want my character to register an onCollide call when it hits the ghost-like mesh but still can pass through. 

I know that "mesh1.intersectMesh(mesh2)" will do what I am asking, but I am using "mesh1.onCollide" for all of my collisions right now and I was wondering if I can have the mesh call onCollide but still pass through the other mesh so I don't have to run the intersectMesh function for that item. Thanks for any help.

Link to comment
Share on other sites

  • 2 weeks later...

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...