|
| bool | LockRotationX = false |
| | whether or not to lock the X rotation. If set to false, the model will rotate on the x axis, to aim up or down
|
| InitializationModes | InitializationMode |
| | whether initialization should happen only once, or every time the brain is reset
|
| string | Label |
| | a label you can set to organize your AI Actions, not used by anything else
|
|
| virtual void | Rotate () |
| | Makes the orientation 3D ability rotate towards the brain target.
|
| virtual void | Awake () |
| | On Awake we grab our AIBrain.
|
◆ Initialization()
| override void MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D.Initialization |
( |
| ) |
|
|
virtual |
◆ OnEnterState()
| override void MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D.OnEnterState |
( |
| ) |
|
|
virtual |
◆ OnExitState()
| override void MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D.OnExitState |
( |
| ) |
|
|
virtual |
◆ PerformAction()
| override void MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D.PerformAction |
( |
| ) |
|
On PerformAction we move.
◆ Rotate()
| virtual void MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D.Rotate |
( |
| ) |
|
|
protectedvirtual |
Makes the orientation 3D ability rotate towards the brain target.
◆ _characterOrientation3D
◆ _originalForcedRotation
| bool MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D._originalForcedRotation |
|
protected |
◆ _targetPosition
| Vector3 MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D._targetPosition |
|
protected |
◆ LockRotationX
| bool MoreMountains.TopDownEngine.AIActionRotateTowardsTarget3D.LockRotationX = false |
whether or not to lock the X rotation. If set to false, the model will rotate on the x axis, to aim up or down
The documentation for this class was generated from the following file: