I created a variable that is the transform.position of the object. However, I didn't see how I could select a generic transform.position of the object this behavior tree is running on. I could select the exact object in the list with the > button but that isn't very flexible because if I clone the object or make a prefab with the behavior tree and launch multiple objects with the behavior tree attached it won't be filling that variable with the position of the object the behavior tree is running on.
I'm not sure if I've explained my question clearly, but basically I just need a variable that would give me the transform.position of the object the behavior tree is attached to at any given time.
Thanks
I'm not sure if I've explained my question clearly, but basically I just need a variable that would give me the transform.position of the object the behavior tree is attached to at any given time.
Thanks