Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:GameSkelCtrl_Recoil (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> AnimObject >> SkelControlBase >> GameSkelCtrl_Recoil
Package: 
GameFramework
This class in other games:
UT3

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

Properties[edit]

Property group 'GameSkelCtrl_Recoil'[edit]

Aim[edit]

Type: Object.Vector2D


bBoneSpaceRecoil[edit]

Type: bool

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

bPlayRecoil[edit]

Type: bool

Modifiers: transient

variable to play recoil

Recoil[edit]

Type: RecoilDef

Recoil Information

Default value:

Member Value
TimeDuration 0.33

Internal variables[edit]

bApplyControl[edit]

Type: bool

Modifiers: transient

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

bOldPlayRecoil[edit]

Type: bool

Modifiers: transient


Default values[edit]

Property Value
CategoryDesc "Recoil"

Enums[edit]

ERecoilStart[edit]

Recoil Start-up

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

Structs[edit]

RecoilDef[edit]

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[edit]

Modifiers: native

Recoil params

ERecoilStart
ERecoilStart
ERecoilStart
byte Padding