iPcHover Struct Reference
Hover stabiliser property class. More...
#include <propclass/hover.h>
Public Member Functions | |
virtual float | GetHeight ()=0 |
Get's the last calculated height for object. | |
virtual void | SetAngularBeamOffset (float abo)=0 |
The offsets to the sides of the objects, to test height to calculate angular orientation with respect to the ground. | |
virtual void | SetAngularCorrectionStrength (float mul)=0 |
How strongly does the object align itself with the terrain? Higher values means that an object going down a hill will snap to the slope. | |
virtual void | SetAngularCutoffHeight (float ach)=0 |
Height at which to perform the angular correction. | |
virtual void | SetHeightBeamCutoff (float chm)=0 |
The height for hit beams. | |
virtual void | SetStabiliserFunction (celStabiliserFunction *sfunc)=0 |
Set the distribution functions which decide upthrust depending on height of ship. | |
virtual void | SetWorld (const char *name)=0 |
Get world mesh using a name (not yet working) by querying this objects physical layer. | |
virtual void | SetWorldMesh (csRef< iPcMesh > wmesh)=0 |
Set the mesh to do the height tests on (the ground). | |
virtual void | UseDefaultFunction (float dampening=1.5f)=0 |
Use a default stabiliser function - not recommended unless not possible to create own, use SetStabiliserFunction instead. |
Detailed Description
Hover stabiliser property class.
Definition at line 34 of file hover.h.
Member Function Documentation
|
Get's the last calculated height for object.
|
|
The offsets to the sides of the objects, to test height to calculate angular orientation with respect to the ground. Smaller is more accurate, but too small and the roll angles will differ in bigger steps (the height beams resolution won't be accurate enough) |
|
How strongly does the object align itself with the terrain? Higher values means that an object going down a hill will snap to the slope. Smaller values and it will slowly align |
|
Height at which to perform the angular correction.
|
|
The height for hit beams. Above this height, all height tests return infinity |
|
Set the distribution functions which decide upthrust depending on height of ship.
|
|
Get world mesh using a name (not yet working) by querying this objects physical layer.
|
|
Set the mesh to do the height tests on (the ground).
|
|
Use a default stabiliser function - not recommended unless not possible to create own, use SetStabiliserFunction instead.
|
The documentation for this struct was generated from the following file:
- propclass/hover.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6