I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:RB_Spring (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> Component >> ActorComponent >> RB_Spring

Contents

Package: 
Engine
This class in other games:
UDK

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

[edit] Properties

[edit] Property group 'RB_Spring'

[edit] bEnableForceMassRatio

Type: bool

Allows you to limit the maximum force applied by spring based on MinBodyMass.

[edit] DampMaxForce

Type: float

Maximum velocity damping force applied between sprung bodies.

[edit] DampSaturateVel

Type: float

Linear velocity (along spring direction) at which damping force is maximum.

[edit] MaxForceMassRatio

Type: float

If bEnableForceMassRatio is true, this is maximum allowed ratio between MinBodyMass and the applied spring force.

[edit] SpringMaxForce

Type: float

Max linear force applied by spring. Multiplied by SpringMaxForceTimeScale before being passed to simulation.

[edit] SpringMaxForceTimeScale

Type: Object.InterpCurveFloat

Allows scaling of spring force over time. Time is zeroed when SetComponents is called, and this curve is a scaling of SpringMaxForce over time from then (in seconds).

Default value:

Member Value
Points
Member Value
OutVal 1.0

[edit] SpringSaturateDist

Type: float

Spring extension at which maximum spring force is applied. Force linear ramps up to this point and is constant beyond it.

[edit] Internal variables

[edit] bInHardware

Type: bool

Modifiers: native, const

Whether we are in the hardware or software scene.

[edit] BoneName1

Type: name

Modifiers: const

Optional name of bone inside Component1 that spring is attached to (for PhysicsAsset case).

[edit] BoneName2

Type: name

Modifiers: const

Optional name of bone inside Component2 that spring is attached to (for PhysicsAsset case).

[edit] Component1

Type: PrimitiveComponent

Modifiers: const

PrimitiveComponent attached to one end of this spring.

[edit] Component2

Type: PrimitiveComponent

Modifiers: const

PrimitiveComponent attached to other end of this spring.

[edit] MinBodyMass

Type: float

Modifiers: const

Minimum mass of bodies connected by spring.

[edit] SceneIndex

Type: int

Modifiers: native, const

Physics scene index.

[edit] SpringData

Type: pointer

Modifiers: native, const

Internal phyiscs engine use.

[edit] TimeSinceActivation

Type: float

Modifiers: native, const

Zeroed when SetComponents is called, this indicates the time the spring has been acting.

[edit] Default values

Property Value
TickGroup TG_PreAsyncWork

[edit] Native functions

[edit] Clear

native function Clear ()


[edit] SetComponents

native function SetComponents (PrimitiveComponent InComponent1, name InBoneName1, Object.Vector Position1, PrimitiveComponent InComponent2, name InBoneName2, Object.Vector Position2)


Personal tools