playMaker

Author Topic: Unparent a gameobject [SOLVED]  (Read 3784 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Unparent a gameobject [SOLVED]
« on: July 25, 2014, 04:08:32 AM »
Hi!
When I enter a trigger, I parent the player to an object, but when I exit the trigger I want to unparent the player from the object. How can I do that?
« Last Edit: July 25, 2014, 11:51:00 AM by Alex Chouls »
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

MS80

  • Junior Playmaker
  • **
  • Posts: 64
Re: Unparent a gameobject
« Reply #1 on: July 25, 2014, 04:18:32 AM »
Just use "set Parent" action and leave Parent empty.

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Unparent a gameobject
« Reply #2 on: July 25, 2014, 04:46:00 AM »
That was easy! Thank you so much! :D
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

tyrot

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Unparent a gameobject [SOLVED]
« Reply #3 on: April 11, 2017, 10:52:44 AM »
i know this topic is old but it has saved my soul from endless purgatory! :)

being newbee is hard very very hard :)

justifun

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 280
Re: Unparent a gameobject [SOLVED]
« Reply #4 on: November 23, 2017, 02:05:56 AM »
I tried doing this, but as soon as i unparent the object, it flies off to some other place in space.  Any ideas?