Playmaker Forum

PlayMaker News => General Discussion => Topic started by: clarliao on June 13, 2013, 11:30:02 PM

Title: I need pick a gameObject, store it in variable , then scale it.[SOLVED]
Post by: clarliao on June 13, 2013, 11:30:02 PM
Hi all ,

    I need pick a gameObject, store it in variable , then rotate it. It is a very easy function in all game. But when I pick a gameObject use mouse picking, stored the picked game object in a variable, and try to scale it, the Set Scale action don't let me assign a game object in variable.
    Does "Set Scale" Action only allow to set the gameObject in scene (or project) ? Can't I set the game object in my variable?

thanks,

Clar
Title: Re: I need pick a gameObject, store it in variable , then scale it.
Post by: escpodgames on June 14, 2013, 12:48:40 AM
Just tried it and it works fine .... !?
Title: Re: I need pick a gameObject, store it in variable , then scale it.
Post by: clarliao on June 14, 2013, 01:27:41 AM
I finally found where and how to set a variable to be value of GameObject parameter!

And solved my problem.

I am new to Playmaker, thanks for helping  :)