FollowARelationship

Summary

This behaviour will start from a specified asset and follow through all of the relationships between assets based on a specified property and create a path listing each asset in the relationship.

Parameters

StartingAsset

Type: Integer Default: 0

The ARDI ID of the Asset to start following relationships from.

Relationship

Type: Text Default: Sequence

The type of relationship to follow.

Offset

Type:Vector3 Default: 1,1,1

Add a positional offset for the path created by this behaviour.

ROffset

Type:Vector3 Default: 0,0,0

Add a rotational offset for the path created by this behaviour.

ConnectorAOffset

Type: Integer Default: 0

Offsets the starting asset by a certain amount of jumps along the relationship.

ConnectorBOffset

Type: Integer Default: 0

Offsets the ending asset by a certain amount of jumps along the relationship.

BasedOnProperty

Type: Property Default: None

The name of the property to check for the relationships.

Examples

<followarelationship startingasset="234" basedonproperty="Pressure" />
The above code will find the asset with the ARDI ID 234 and follow the relationship chain between it and each other asset based on the property named Pressure.