◆ GetAimingDirection()
proto external vector AimingComponent.GetAimingDirection |
( |
| ) |
|
Get the current aiming direction in local space.
◆ GetAimingDirectionWorld()
proto external vector AimingComponent.GetAimingDirectionWorld |
( |
| ) |
|
Get the current aiming direction in world space.
◆ GetAimingLimits()
proto void AimingComponent.GetAimingLimits |
( |
out vector |
limitsHoriz, |
|
|
out vector |
limitsVert |
|
) |
| |
Get the current aiming limits.
- Parameters
-
limitsHoriz | Return the horizontal limits |
limitsVert | Return the vertical limits |
◆ GetAimingRotation()
proto external vector AimingComponent.GetAimingRotation |
( |
| ) |
|
Get the current aiming rotation in degress.
◆ GetAimingRotationModification()
proto external vector AimingComponent.GetAimingRotationModification |
( |
| ) |
|
◆ GetAimingRotationWanted()
proto external vector AimingComponent.GetAimingRotationWanted |
( |
| ) |
|
Get the current desired aiming rotation in degrees.
◆ GetCurrentRecoilTranslation()
proto external vector AimingComponent.GetCurrentRecoilTranslation |
( |
| ) |
|
◆ GetInitAiming()
proto external vector AimingComponent.GetInitAiming |
( |
| ) |
|
Get the init rotation defined in the prefab in degrees.
◆ GetModifiedAimingTranslation()
proto external vector AimingComponent.GetModifiedAimingTranslation |
( |
| ) |
|
◆ GetRawAimingRotation()
proto external vector AimingComponent.GetRawAimingRotation |
( |
| ) |
|
Returns the aiming rotation in weapon model space.
(1 = 1 rad).
x: +yaw, -yaw y: +pitch, -pitch z: +roll, -roll
◆ GetRawAimingTranslation()
proto external vector AimingComponent.GetRawAimingTranslation |
( |
| ) |
|
Returns the aiming translation prior to any transformations in weapon model space (1 = 1 m).
x: +right, -left y: +up, -down z: +front, -back
◆ SetAimingRotation()
proto external void AimingComponent.SetAimingRotation |
( |
vector |
inRotation | ) |
|
Set the current aiming rotation.
- Parameters
-
inRotation | The rotation wanted in radians |
◆ SetAimingRotationWanted()
proto external void AimingComponent.SetAimingRotationWanted |
( |
vector |
inRotation | ) |
|
Set the desired aiming rotation.
It will move the aiming rotation smoothly to your desired aiming rotation.
- Parameters
-
inRotation | The rotation wanted in radians |
The documentation for this interface was generated from the following file:
- Game/generated/Components/AimingComponent.c