(One intermediate revision by one other user not shown)
Line 6:
Line 6:
|Name=PositionAtUser
|Name=PositionAtUser
}}
}}
== Intoduction ==
The '''PositionAtUser''' component drives the values in <code>PositionDrive</code> and <code>RotationDrive</code> to match the user's position and rotation as determined by the settings in <code>PositionSource</code> and <code>RotationSource</code> respectively.
The '''PositionAtUser''' component drives the values in <code>PositionDrive</code> and <code>RotationDrive</code> to match the user's position and rotation as determined by the settings in <code>PositionSource</code> and <code>RotationSource</code> respectively.
== Usage ==
== Usage ==
Line 16:
Line 15:
|PositionOffset|Float3| Position offset in global space units
|PositionOffset|Float3| Position offset in global space units
|RotationOffset|FloatQ| Rotation offset in global space units
|RotationOffset|FloatQ| Rotation offset in global space units
|PositionSource|UserNode| The user node that the position will be calculated from
|PositionSource|'''[[Component:UserRoot#UserNode|UserRoot.UserNode]]'''|TypeAdv6=true| The user node that the position will be calculated from
|RotationSource|UserNode| The user node that the rotation will be calculated from
|RotationSource|'''[[Component:UserRoot#UserNode|UserRoot.UserNode]]'''|TypeAdv7=true| The user node that the rotation will be calculated from
|PositionDrive|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv8=true| Target Float3 to drive with the calculated position value
|PositionDrive|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv8=true| Target Float3 to drive with the calculated position value
|RotationDrive|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv9=true| Target FloatQ to drive with the calculated rotation value.
|RotationDrive|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv9=true| Target FloatQ to drive with the calculated rotation value.
Latest revision as of 22:39, 17 March 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
The PositionAtUser component drives the values in PositionDrive and RotationDrive to match the user's position and rotation as determined by the settings in PositionSource and RotationSource respectively.