Specifies the shape bounding a static object when determining collisions. For example it is possible to specify a sphere (ellipsoid) around a freeform and collisions with the freeform will be based upon the sphere rather than mesh faces. If the shape is specified as a freeform then collisions will be with mesh faces instead. This enumerated type is used by the property shape of TGLDCEStatic. It is the enumerated type:
TDCEShape = (csEllipsoid, csBox, csFreeform, csTerrain);
csEllipsoid: Collisions are with a bounding sphere with radius TGLDCEStatic.size
csBox: Collisions are with a bounding box with width TGLDCEStatic.size
csFreeform: Collision is with a freeform mesh faces. For example a wall in a Quake map.
csTerrain: Collision is with a terrain
Demo: CVS/Demos/behaviours/DCEDemo
Unit: GLDCE
Comments (0)
You don't have permission to comment on this page.