Table of Contents

Component Physics

(NOTE) Applies a force to make an object move at a target speed in a given direction. This can also be used to pull the object towards the center of the flow (the axis in the flow direction centered at the effect). Used to model a river or a tractor beam.

Methods Properties Base Classes Derived Classes
Constructor AttractSpeed physicseffect
AttractToFlowCenter
FlowDirection
FlowSpeed
LocalForce
MaxAttractForce
MaxFlowForce
WorldFlowDirection

Properties


AttractSpeed : real

The target speed for an object to be pulled towards the center of the flow.

var AttractSpeed : Real

AttractToFlowCenter : boolean

Determines if the flow field will attract objects towards the center of the field. This can be used to create a tractor beam effect that will keep the object inside of the flow field.

var AttractToFlowCenter : Boolean

FlowDirection : real3

The direction that the field is flowing. This can be defined in world or local space.

var FlowDirection : Real3

FlowSpeed : real

The target speed of objects in the flow field.

var FlowSpeed : Real

LocalForce : boolean

Determines if the flow direction is in the local space of the object.

var LocalForce : Boolean

MaxAttractForce : real

The max force that can be used to reach the target attract speed.

var MaxAttractForce : Real

MaxFlowForce : real

The max force that can be used to reach the target flow speed.

var MaxFlowForce : Real

WorldFlowDirection : real3

read-only

The direction that the field is flowing in world space.

var WorldFlowDirection : Real3

Methods


FlowEffect : Void

constructor

Name Type Description
function FlowEffect()