PositionAndRotationTarget
A struct in Root.Township, the global namespace.
A teleport destination: a position and a facing direction. Used by the climbing tower teleporter nodes.
- Listed in Global namespace: P
Constructors
| Member | What it is |
|---|---|
PositionAndRotationTarget(Vector3 position) | Creates a PositionAndRotationTarget from position and rotation. |
PositionAndRotationTarget(Vector3 position, Vector3 rotation) | Creates a PositionAndRotationTarget from position and rotation. |
Fields
| Member | What it is |
|---|---|
Vector3 position | World position to move to. |
Vector3 rotation | Direction to face, as a vector (forward by default), not a rotation. |
Used in
Members of other types that take, return or hold a PositionAndRotationTarget:
ClimbingTowerTeleporterNode.GetTeleportLocationForChildNode, ClimbingTowerTeleporterNode.GetTeleportLocationForCompletionNode, ClimbingTowerTeleporterNode.GetTeleportLocationForRootNode, ClimbingTowerTeleporterNode.GetTeleportPositionAndRotation, LocomotionController.SyncMoveToAndFaceRequest, LocomotionController.syncMoveToAndFaceTowardsXZ, TeleportDefinition.TeleportPlayerAndRotateTo.