FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Undoing parent-child relationship

2 posters

Go down

Undoing parent-child relationship Empty Undoing parent-child relationship

Post  synaptime Thu Apr 23, 2009 4:57 pm

Hi,
This is probably and easy thing to do, so sorry for the stupid question,
but I have setup a relationship where the child object's transformation is that of the parent:

_SIO2ChildObject->_SIO2Transform->_SIO2Parent = _SIO2ParentObject->_SIO2Transform;

I want to be able to toggle this.
How do I undo this relationship?
thanks

synaptime

Posts : 6
Join date : 2009-03-23

Back to top Go down

Undoing parent-child relationship Empty Re: Undoing parent-child relationship

Post  oioioi Fri Apr 24, 2009 7:59 am

_SIO2ChildObject->_SIO2Transform->_SIO2Parent = NULL;?

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

Undoing parent-child relationship Empty Re: Undoing parent-child relationship

Post  synaptime Fri Apr 24, 2009 10:31 am

oioioi, first thing I tried. I tried setting it to its own transform, also didn't work. thx anyhowz

synaptime

Posts : 6
Join date : 2009-03-23

Back to top Go down

Undoing parent-child relationship Empty Re: Undoing parent-child relationship

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum