Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:RB_Spring (UT3)

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

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

Properties

Property group 'RB_Spring'

bEnableForceMassRatio

Type: bool

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

DampMaxForce

Type: float

Maximum velocity damping force applied between sprung bodies.

DampSaturateVel

Type: float

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

MaxForceMassRatio

Type: float

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

SpringMaxForce

Type: float

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

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

SpringSaturateDist

Type: float

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

Internal variables

bInHardware

Type: bool

Modifiers: native, const

Whether we are in the hardware or software scene.

BoneName1

Type: name

Modifiers: const

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

BoneName2

Type: name

Modifiers: const

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

Component1

Type: PrimitiveComponent

Modifiers: const

PrimitiveComponent attached to one end of this spring.

Component2

Type: PrimitiveComponent

Modifiers: const

PrimitiveComponent attached to other end of this spring.

MinBodyMass

Type: float

Modifiers: const

Minimum mass of bodies connected by spring.

SceneIndex

Type: int

Modifiers: native, const

Physics scene index.

SpringData

Type: pointer

Modifiers: native, const

Internal phyiscs engine use.

TimeSinceActivation

Type: float

Modifiers: native, const

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

Default values

Property Value
TickGroup TG_PreAsyncWork

Native functions

Clear

native function Clear ()


SetComponents

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