Playmaker Forum
PlayMaker Feedback => Feature Requests => Topic started by: MABManZ on January 09, 2012, 02:24:19 AM
-
Maybe this is already possible, but I'd like to be able to change the property of a component that has been added via Playmaker during run-time.
Because the Set Property action requires you to drag the property from Inspector this is not possible as the component does not exist until run-time ???
example: I want to add a collider at run-time on an object, but I want it to be a trigger.
-
Hi,
:) possible actually
the trick is to create first the fsmObject as a variable, then you can "get component" and use this variable to store the component in. Then you can "set property" of that variable, and you'll have access to trigger that way
I have attached screenshots to show the setup.
Bye,
Jean
-
Thanks a lot this helps a ton ;D