Topic: Unlinking objects fails

Anaël,

From the wiki lua script documentation, I'm trying to use "setParent(object, 0)"  to unlink 2 objects but it doesn't work.
The parenting is still active, which is confirmed by getParent(object) that returns the same parent instead of 0.
To test this, you can use the SponzaFPS example and try to unparent the Camera0 with setParent(Camera0 , 0).

NB: I'm using the latest svn (rev202)

Thanks

Last edited by com3D (2013-06-02 10:10:35)

Re: Unlinking objects fails

Hi, found it, the state was ignored,
thank you for reporting,

Anaël.