playMaker

Author Topic: Something wierd about set parrent!  (Read 873 times)

Silicon Power

  • Full Member
  • ***
  • Posts: 186
Something wierd about set parrent!
« 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. 

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Something wierd about set parrent!
« Reply #1 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