Enum ProxyAlignmentForceType
How this object should align with it's target
Namespace: Unity.MARS.Forces
Syntax
[Serializable]
public enum ProxyAlignmentForceType
Fields
Name | Description | Value |
---|---|---|
MoveToAndAlignWith | Goal transform is the target's transform |
0 |
MoveToAndFace | Effectively 'go towards': look at target while moving towards it's location |
1 |
CenterInFrontOfAndFace | Towards closest point directly in front of target, and face it |
2 |
SceneInitialRelativePose | Stores the relative pose at Awake, and tries to maintain that. |
3 |
SceneInitialRelativeAngle | Stores the relative angle at Awake, and tries to maintain that. |
4 |
MoveToAndFaceAwayFrom | Same behavior as MoveToAndFace except the target's backwards facing direction is used. Use this for UI canvases |
5 |