I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

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

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


Default values

Property Value
CategoryDesc "Recoil"

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
ERecoilStart
ERecoilStart
byte Padding