playMaker

Author Topic: Action scaling child on prefab  (Read 1711 times)

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Action scaling child on prefab
« on: July 30, 2013, 09:00:22 AM »
Hello all, I'm just wondering if there's a simple way to scale a child object on a prefab easily. I wanted to be able to select a tank and have a selection box scale up from 0 to 1 (selection box is just a green square around the base of the tank). Is there a simple way to do this?

Thanks again,
MattyWS

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Action scaling child on prefab
« Reply #1 on: July 31, 2013, 02:53:22 AM »
Hi,

 prefab are totally regular gameObjects when in your scene, so simply have an fsm that change the scale values of that gameobject and you are set.

Bye,

 Jean