Table of Contents

Component Physics

(NOTE) Applies a buoyancy force to an object in a given direction.

Methods Properties Base Classes Derived Classes
Constructor DebugDrawRuntime physicseffect
Density
Detail
Gravity

Properties


DebugDrawRuntime : boolean

Draw the points used to compute the buoyancy during run-time. This helps in debugging, but should be left off during normal run.

var DebugDrawRuntime : Boolean

Density : real

The density of the fluid.

var Density : Real

Detail : integer

The amount of points to subdivide each object into for sampling (total points is Detail^3)

var Detail : Integer

Gravity : real3

The direction of gravity in world-space.

var Gravity : Real3

Methods


BuoyancyEffect : Void

constructor

Name Type Description
function BuoyancyEffect()