Jump to content

serializing issue with BABYLON.ActionManager.OnIntersectionEnterTrigger


satguru
 Share

Recommended Posts

In a scene add  an ActionManager to a mesh.

Register an action triggered  by BABYLON.ActionManager.OnIntersectionEnterTrigger

serialize the scene

try to convert the serialized object to string

you will get the following error

"Line 46:28 - Converting circular structure to JSON"

see playground example

http://www.babylonjs-playground.com/#1UTZEV#10

if you comment out line 42

"sphere.actionManager.registerAction(action);"

then it works fine.

Please check

 

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