-
Notifications
You must be signed in to change notification settings - Fork 18
Get Owner
Get the owner of the logic tree. Any object with the tree attached is considered an "owner". This node can be used to access instanced objects separately.
This works more universally than the Get Object node, because it does not look for objects by their name, but gets the owner object by accessing it through the attached logic bricks, which are unique for each object.
Note: If you plan on using logic nodes on instanced objects, USE THIS AND THE GET CHILD BY NAME node instead of GET OBJECT.
Example:
There's 2 instances of the same object with a logic tree attached in your scene. Each instance is running the logic tree, so for each instance, the result of Get Owner will be a different object.
Category: Objects
This node has no inputs.
Owner Object
- The object currently executing the tree.
Documentation for Logic Nodes version 0.9.1 on UPBGE 0.3.0 Alpha