UE3:GameSkelCtrl_Recoil (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE3:RecoilParams (UT3))
UT3 Object >> SkelControlBase >> GameSkelCtrl_Recoil
Package:
GameFramework
This class in other games:

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Weapon recoil bone controller. Add a small recoil to a bone (similar to camera shakes).

Properties

Property group 'GameSkelCtrl_Recoil'

Aim

Type: Object.Vector2D


bBoneSpaceRecoil

Type: bool

If TRUE, Aim is ignored, and recoil is just applied in the local bone space.

bPlayRecoil

Type: bool

Modifiers: transient

variable to play recoil

Recoil

Type: RecoilDef

Recoil Information

Default value:

Member Value
TimeDuration 0.33

Internal variables

bApplyControl

Type: bool

Modifiers: transient

Internal, evaluates recoil is doing an effect and needs to be applied

bOldPlayRecoil

Type: bool

Modifiers: transient


Enums

ERecoilStart

Recoil Start-up

ERS_Zero
Start with random offset (default)
ERS_Random
Start with zero offset

Structs

RecoilDef

Modifiers: native

Recoil definition

float TimeToGo
Time in seconds to go until current recoil finished
float TimeDuration
Duration in seconds of current recoil shake
Object.Vector RotAmplitude
Rotation amplitude
Object.Vector RotFrequency
Rotation frequency
Object.Vector RotSinOffset
Rotation Sine offset
RecoilParams RotParams
Rotation parameters
Object.Rotator RotOffset
Internal, Rotation offset for this frame.
Object.Vector LocAmplitude
Loc offset amplitude
Object.Vector LocFrequency
Loc offset frequency
Object.Vector LocSinOffset
Loc offset Sine offset
RecoilParams LocParams
Loc parameters
Object.Vector LocOffset
Internal, Location offset for this frame.

Default values:

Property Value
TimeDuration 0.33

RecoilParams

Modifiers: native

Recoil params

ERecoilStart X
ERecoilStart Y
ERecoilStart Z
byte Padding