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

UE3:PhysAnimTestActor (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> PhysAnimTestActor
Package: 
UTGameContent
This class in other games:
UDK

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

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'
Components[0] SkeletalMeshComponent'SkeletalMeshComponent0'

Subobjects

SkeletalMeshComponent0

Class: Engine.SkeletalMeshComponent

Property Value
AnimSets[0] AnimSet'CH_AnimHuman.Anims.K_AnimHuman_BaseMale'
bHasPhysicsAssetInstance True
BlockRigidBody True
BlockZeroExtent True
bUpdateJointsFromAnimation True
CollideActors True
PhysicsAsset PhysicsAsset'CH_AnimHuman.Mesh.SK_CH_BaseMale_Physics'
PhysicsWeight 1.0
RBChannel RBCC_EffectPhysics
RBCollideWithChannels
Member Value
Default True
EffectPhysics True
GameplayPhysics True
SkeletalMesh SkeletalMesh'CH_IronGuard_Male.Mesh.SK_CH_IronGuard_MaleA'

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.