SEntityPhysicalizeParams::AreaDefinition

SEntityPhysicalizeParams::AreaDefinition

This parameters are only used when type == PE_AREA. More...

#include

Public Types

enum EAreaType {
AREA_SPHERE, AREA_BOX, AREA_GEOMETRY, AREA_SHAPE,
AREA_CYLINDER, AREA_SPLINE
}

Public Attributes

EAreaType areaType
float fRadius
Must be set when using AREA_SPHERE or AREA_CYLINDER area type or an AREA_SPLINE.
Vec3 boxmin
Vec3 boxmax
Min,Max of bounding box, must be set when using AREA_BOX area type.
Vec3 * pPoints
Must be set when using AREA_SHAPE area type or an AREA_SPLINE.
int nNumPoints
Number of points in pPoints array.
float zmin
float zmax
Min/Max of points.
Vec3 center
Vec3 axis
struct pe_params_area * pGravityParams
pGravityParams must be a valid pointer to the area gravity params structure.

Detailed Description

This parameters are only used when type == PE_AREA.

Member Enumeration Documentation

◆ EAreaType

Enumerator
AREA_SPHERE

Physical area will be sphere.

AREA_BOX

Physical area will be box.

AREA_GEOMETRY

Physical area will use geometry from the specified slot.

AREA_SHAPE

Physical area will points to specify 2D shape.

AREA_CYLINDER

Physical area will be a cylinder.

AREA_SPLINE

Physical area will be a spline-tube.