Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE3:PhysAnimTestActor (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Actor >> PhysAnimTestActor
Package: 
UTGame
This class in other games:
UT3


Properties

Property group 'PhysAnimTestActor'

ActorOriginHeight

Type: float


Default value: 50.0

AngularBoneSpringNames

Type: array<name>


Default value: 'b_head'

AngularHipDriveScale

Type: float


Default value: 5.0

BlendStaggerAnimTime

Type: float


Default value: 0.15

GetUpBlendTime

Type: float


Default value: 0.2

GetUpToIdleTime

Type: float


Default value: 0.4

LinearBoneSpringNames

Type: array<name>


Default value, index 0: 'b_LeftHand'

Default value, index 1: 'b_RightHand'

LowerBoneNames

Type: array<name>

Names of bones that make up the 'lower half' of this actor.

Default value, index 0: 'b_LeftLegUpper'

Default value, index 1: 'b_LeftLeg'

Default value, index 2: 'b_LeftAnkle'

Default value, index 3: 'b_RightLegUpper'

Default value, index 4: 'b_RightLeg'

Default value, index 5: 'b_RightAnkle'

Default value, index 6: 'b_Hips'

MotorDownAnimTime

Type: float


Default value: 0.4

MotorDownTime

Type: float


Default value: 1.4

PokeBlendTime

Type: float


Default value: 0.5

PokePauseTime

Type: float


Default value: 0.7

SkeletalMeshComponent

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'SkeletalMeshComponent0'

StaggerMuscleScale

Type: float


Default value: 200.0

StaggerSpeedAdj

Type: float


Default value: 0.1

StaggerVel

Type: float


Default value: 100.0

Internal variables

bBlendingBack

Type: bool


bBlendToGetUp

Type: bool


BlendBackStartTime

Type: float


BlendNode

Type: AnimNodeBlend


bNextPokeKnocksDown

Type: bool


bRampingDownMotors

Type: bool


CurrentState

Type: EPATAState


GetUpBlendStartTime

Type: float


GetUpNode

Type: AnimNodeSequence


HipBody

Type: RB_BodyInstance


MotorDownStartTime

Type: float


MoveDir

Type: Object.Vector


RunNode

Type: AnimNodeSequence


Default values

Property Value
bCollideActors True
bNoDelete True
bProjTarget True
CollisionComponent SkeletalMeshComponent'SkeletalMeshComponent0'
CollisionType COLLIDE_CustomDefault
Components[0] SkeletalMeshComponent'SkeletalMeshComponent0'

Subobjects

SkeletalMeshComponent0

Class: Engine.SkeletalMeshComponent

Property Value
AnimSets[0] AnimSet'CH_AnimHuman.Anims.K_AnimHuman_BaseMale'
AnimTreeTemplate AnimTree'TestAnimPhys.TestAnimPhys_Tree'
bHasPhysicsAssetInstance True
BlockRigidBody True
BlockZeroExtent True
bUpdateJointsFromAnimation True
CollideActors True
PhysicsAsset PhysicsAsset'CH_AnimCorrupt.Mesh.SK_CH_Corrupt_Male_Physics'
PhysicsWeight 1.0
RBChannel RBCC_EffectPhysics
RBCollideWithChannels
Member Value
BlockingVolume True
Default True
EffectPhysics True
GameplayPhysics True
ReplacementPrimitive None
SkeletalMesh SkeletalMesh'CH_LIAM_Cathode.Mesh.SK_CH_LIAM_Cathode'

Enums

EPATAState

PATA_FixedAll 
PATA_FixedLower 
PATA_MotorRagdoll 
PATA_Floppy 
PATA_Recover 

Functions

Events

OnAnimEnd

event OnAnimEnd (AnimNodeSequence InSeqNode, float PlayedTime, float ExcessTime)

Overrides: Actor.OnAnimEnd

(Description copied from Actor.OnAnimEnd)
Event called when an AnimNodeSequence (in the animation tree of one of this Actor's SkeletalMeshComponents) reaches the end and stops. Will not get called if bLooping is 'true' on the AnimNodeSequence. bCauseActorAnimEnd must be set 'true' on the AnimNodeSequence for this event to get generated.

Parameters:

  • SeqNode - Node that finished playing. You can get to the SkeletalMeshComponent by looking at SeqNode->SkelComponent
  • PlayedTime - Time played on this animation. (play rate independant).
  • ExcessTime - how much time overlapped beyond end of animation. (play rate independant).

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay

When game begins, get anim playing, and go into FixedLower state.

Tick

event Tick (float DeltaSeconds)

Overrides: Actor.Tick

Tick function

Other instance functions

DetachAttachments

function DetachAttachments ()


EnableMotors

function EnableMotors (bool InEnabled)

Turn all motors on or off

EndGrab

function EndGrab ()


IsAngularBoneSpringName

function bool IsAngularBoneSpringName (name InName)


IsLinearBoneSpringName

function bool IsLinearBoneSpringName (name InName)


IsLowerBodyName

function bool IsLowerBodyName (name InName)

Util for determining if a bone is in the LowerBoneNames array.

OnSetPATAState

function OnSetPATAState (SeqAct_SetPATAState Action)

Handler for SeqAct_SetPATAState Kismet action.

PreGrab

function bool PreGrab ()


PrePokeActor

function bool PrePokeActor (Object.Vector PokeDir)


RecoverFromRagdoll

function RecoverFromRagdoll ()

Enter recovery from ragdoll mode.

SetBodiesFixed

function SetBodiesFixed (bool InFixed)

Fix or unfix all bodies

SetBoneSprings

function SetBoneSprings (bool bEnabled)


SetLowerFixed

function SetLowerFixed ()

Set lower half bones to fixed.

SetPATAState

function SetPATAState (EPATAState NewState)

Function for changing what state we are in.