PointAt

Summary

This function causes a specified asset to rotate so that its front side is facing towards another asset in the scene.

Parameters

Target

Type: Text Default: None

Specifies the name or ARDI ID of the asset you want to rotate. If using an asset ID, begin the target with the '#' character.

With

Type: Text Default: None

Specifies the name or ARDI ID of the asset you want to have the target asset rotate and face towards. If using an asset ID, begin the target with the '#' character.

See Also

Examples

<pointat Target="SomeObject" With="AnotherObject" />
This code will find the asset named SomeObject and have it rotate to face towards the asset named AnotherObject.