PlayMaker Feedback > Feature Requests
Why there is no Type "Transform" in State Machine Variables ?
yuewah:
Why there is no Type "Transform" in State Machine Variables ?
Red:
not sure i fully understand what you're aiming for... do you mean the vector3 variable (which will store x, y and z coordinates) which can be used to transform an object's position or more a thing to handle rotation (using a vector3 variable for the rotational offsets?)
or both?
yuewah:
No, the unity class called Transform that contains both position, rotation and scale.
PIXELCRY:
Hi sorry for upping this topic, i actually have same problem:
my script have this variable " public Transform target;" from the inspector i can assign directly a gameobject
but when i try to use action "set property" on "target" i cant find a matching variable that can be used :(
kiriri:
when scripting you're always using the namespace UnityEngine. Go figure in which category the Transform is :P
(Tipp: in the object type selection first go to unityEngine and then select Transform from the long list that should appear.)
Navigation
[0] Message Index
[#] Next page
Go to full version