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

 

Reference Manual - TGLDCEDynamic


This is a behaviour of a GLScene object that descends from TGLBaseSceneObject. It gives an object behaviour that allows it to collide with a static object. For example a camera colliding with a wall in Quake map. Refer to the DCE collision article for more information.

Important TGLDCEDynamic properties:
manager:TGLDCEManager
The DCE Manager used. Dynamic and static objects that are part of the system need the same manager.

slideorbound:TDCESlideOrBounce
When the object hits a static object does it bounce off the object or slide over it.

friction:integer
This is the amount of friction on the surface of the object so that when force is applied to a dynamic object it will slide over the surface with no friction (0 ) or will be completely stuck (100)

usegravity:boolean
Whether or not the dynamic object is effected by the gravity specified in the TGLDCEManager

active:boolean
Allows the behaviour to be switched on or off so that a object will no longer be part of the collision engine

Demo: CVS/Demos/behaviours/DCEDemo

Unit: GLDCE

Descends from TGLBehaviour.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0429 seconds