playMaker

Author Topic: Detach Child from Parent  (Read 2941 times)

Reverse Gravity

  • Playmaker Newbie
  • *
  • Posts: 1
Detach Child from Parent
« on: December 08, 2014, 05:47:20 PM »
I am trying to create a 3rd person character pick up mechanic.

I used set parent and a on enter collider with the game object. When I try to detach the game object unity crashes. What I am doing wrong? Is there any other way to solve the problem

I am a bit of a newbie

Thank you


Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Detach Child from Parent
« Reply #1 on: December 11, 2014, 09:01:15 AM »
You should be able to use Set Parent and choose no object as the parent. This would put it at the World level of the hierarchy, as an object with no parent object.

I can't really think of any reason that would crash the game. Can you give a little more info/context about the crash or errors?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D