Always snap to grid

UE3:SkelControlTrail (UT3)

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

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

Allows a chain of bones to 'trail' behind its head.

Properties

Property group 'Trail'

bInvertChainBoneAxis

Type: bool

Invert the direction specified in ChainBoneAxis.

bLimitStretch

Type: bool

Limit the amount that a bone can stretch from its ref-pose length.

ChainBoneAxis

Type: Object.EAxis

Axis of the bones to point along trail.

Default value: AXIS_X

ChainLength

Type: int

Number of bones above the active one in the hierarchy to modify.

Default value: 2

StretchLimit

Type: float

If bLimitStretch is true, this indicates how long a bone can stretch beyond its length in the ref-pose.

TrailRelaxation

Type: float

How quickly we 'relax' the bones to their animated positions.

Default value: 10.0

Internal variables

bHadValidStrength

Type: bool

Did we have a non-zero ControlStrength last frame.

ThisTimstep

Type: float

Internal use - we need the timestep to do the relaxation in CalculateNewBoneTransforms.

TrailBoneLocations

Type: array<Object.Vector>

Modifiers: transient

World-space locations of the bones. Each frame these are moved towards their 'animated' locations.