Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Silicon Power on April 12, 2020, 01:17:46 PM

Title: Something wierd about set parrent!
Post by: Silicon Power on April 12, 2020, 01:17:46 PM
Hi there. I can't figure out why when I set parent manually its transform doesn't change and everything look good but when I use set parent action in playmaker it change object transform. 
Title: Re: Something wierd about set parrent!
Post by: jeanfabre on April 14, 2020, 01:16:11 AM
Hi,

 setParent has an option "WorldPositionStay", if false, it will be moved so that its current local position remains comapred to the new parent, if true, then it will remain in place and the local position will be updated accordingly.

Bye,

 Jean