Jump to content

OnIntersectionEnterTrigger and Children Meshes


amorgan
 Share

Recommended Posts

I am using the Actions Manager and am trying to use the OnIntersectionEnterTrigger on a (child) mesh that has a parent, but seems to be firing on the parent mesh? Is this the right behavior?

 

The mesh I would like for it to fire on is smaller than the overall parent mesh.

 

Thanks.

Link to comment
Share on other sites

Thank you for the advice on using the playground (should have done that already haha). So it looks like it has to do with assigning more than one action of the same type. I am specifically using ExecuteCodeAction, then OnIntersectionEnterTrigger (and OnIntersectionExitTrigger), take a look:

 

http://www.babylonjs-playground.com/#GYU8E#2

 

Is this how it is supposed to work? Otherwise, is it possible to have multiple triggers for OnIntersectionEnterTriggerif I have N to M relationships?

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