playMaker

Author Topic: Spawning a weapon in hand  (Read 629 times)

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 61
    • View Profile
Spawning a weapon in hand
« on: July 04, 2017, 01:35:07 PM »
I need to spawn a model with create game object, then spawn another object in other game objects hierarchy finding a child as its location. Every way I try this the spawned item is not set parent can someone make a quick image of workflow.

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 990
    • View Profile
    • Fat Pug Studio
Re: Spawning a weapon in hand
« Reply #1 on: July 04, 2017, 02:13:13 PM »
You've got a set parent action under gameobject tab.

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 61
    • View Profile
Re: Spawning a weapon in hand
« Reply #2 on: July 04, 2017, 04:56:23 PM »
yes but when i set parent it doesnt not conect it to the right location

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 990
    • View Profile
    • Fat Pug Studio
Re: Spawning a weapon in hand
« Reply #3 on: July 05, 2017, 04:35:18 AM »
Well, set parent, then set position in local space? Or maybe create an empty object which will hold the location?
« Last Edit: July 05, 2017, 04:53:48 AM by krmko »