Sign in to follow this  
amorgan

OnIntersectionEnterTrigger and Children Meshes

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.

Share this post


Link to post
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?

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.