Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Lars Steenhoff on October 10, 2012, 10:32:32 AM

Title: Replace objects
Post by: Lars Steenhoff 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
Title: Re: Replace objects
Post by: jeanfabre 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