playMaker

Author Topic: Replace objects  (Read 3299 times)

Lars Steenhoff

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 46
Replace objects
« on: October 10, 2012, 10:32:32 AM »
Hi I could use an replace game object action,

I use this script
http://wiki.unity3d.com/index.php/ReplaceSelection

to replace placeholder objects I created in maya with the actual game objects in my game.

I'm thinking it could be very useful to replace a gameobjects via playmaker.
such as replace by tag or by name. 
Maybe this is already possible ?

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Replace objects
« Reply #1 on: October 11, 2012, 03:38:30 AM »
Hi,

 Yes this is already possible, you simply instantiate a new model in place of the target, attach it the parent's target and destroy the target.

bye,

 Jean