Jump to content

Action Manager on disabled meshes and children meshes


gamefan
 Share

Recommended Posts

Hi,

Don't know if this is intended behavior but ActionManager executes actions on disabled meshes too. Don't want it run on disabled meshes. Also actions registered with a parent mesh are not executed by children.

Got children to execute parent action by registering action to  each end child. For meshes disposed/created actionManager to toggle action execution when they are disabled/enabled.

So found a way around both, if anyone is looking for it. If there is a better way, please tell. Would love to see  ActionManager handle this internally.

Thankyou

And yeah pg: http://www.babylonjs-playground.com/#IJKYDQ

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