OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLDCEShape


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
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0226 seconds