Torque3D Documentation / _generateds / afxPhysicalZoneData

afxPhysicalZoneData

consoledoc.h

A datablock that specifies a PhysicalZone effect.

More...

Public Attributes

Point3F

A three-valued vector representing a directional force applied to objects withing the zone.

bool

When true, an object used as the primary position constraint of a physical-zone effect will not be influenced by the forces of the zone.

This enumerated attribute defines the type of force used in the PhysicalZone. Possible values: vector, sphere, or cylinder.

float

A multiplier that biases the influence of gravity on objects within the zone.

bool

Determines if the force can be oriented by the PhysicalZone's transform matrix.

string

Floating point values describing the outer bounds of the PhysicalZone's region of influence.

float

A multiplier that biases the velocity of an object every tick it is within the zone.

Detailed Description

A datablock that specifies a PhysicalZone effect.

A Physical Zone is a Torque effect that applies physical forces to Players and other movable objects that enter a specific region of influence. AFX has enhanced Physical Zones by allowing orientation of vector forces and adding radial forces. AFX has also optimized Physical Zone networking so that they can be constrained to moving objects for a variety of effects including repelling and flying.

Public Attributes

Point3F appliedForce 

A three-valued vector representing a directional force applied to objects withing the zone.

bool excludeConstraintObject 

When true, an object used as the primary position constraint of a physical-zone effect will not be influenced by the forces of the zone.

PhysicalZone_ForceType forceType 

This enumerated attribute defines the type of force used in the PhysicalZone. Possible values: vector, sphere, or cylinder.

float gravityMod 

A multiplier that biases the influence of gravity on objects within the zone.

bool orientForce 

Determines if the force can be oriented by the PhysicalZone's transform matrix.

string polyhedron 

Floating point values describing the outer bounds of the PhysicalZone's region of influence.

float velocityMod 

A multiplier that biases the velocity of an object every tick it is within the zone.