The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTSkelControl_RaptorWing (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 07:40, 23 May 2008 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> SkelControlBase >> SkelControlSingleBone >> UTSkelControl_RaptorWing
Package: 
UTGame

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

Properties

Property group 'Wing'

JointSockets

Type: name

Array size: 2

JoinSockets are used when tracing from the joint + velocity

TipBones

Type: name

Array size: 2

TipBone defines which bone is left and which is right

TipSockets

Type: name

Array size: 2

The tip Sockets are used to trace from the tip of the wing

WingLength

Type: int

WingLength is the left of the wing

Default value: 165

Internal variables

ActualPitch

Type: int

Array size: 2


Default value, index 0: -16384

Default value, index 1: -16384

bAlreadyDescending

Type: bool

true if was already folding up wings because of descent

bForcedDesired

Type: int

Array size: 2


bInitialized

Type: bool

Modifiers: transient

If true, this component has been initialized and the BoneIndex array is valid

Bones

Type: int

Array size: 2

These holds the various runtime values 0=Left, 1=Right

DesiredAngle

Type: int


DesiredPitch

Type: int

Array size: 2


Default value: -16384

MinUpTime

Type: float


Default value: 0.5

PitchRate

Type: float

Array size: 2


UpTimeSeconds

Type: float

WorldInfo->TimeSeconds < UpTimeSeconds then the wings will not fold down

Default values

Property Value
bApplyRotation True
bIgnoreWhenNotRendered True
BoneRotationSpace BCS_ActorSpace

Native functions

ForceSingleWingUp

native function ForceSingleWingUp (bool bRight, float Rate)

This function will force a single wing in to the up position

ForceWingsUp

native function ForceWingsUp (float Rate)

This function will force both wings in to the up position