CS::Collisions::iCollisionActor Struct Reference
A iCollisionActor is a basic collision agent, that will be blocked by the collision objects standing in its way, but won't interact with them by generating opposite collision forces on the objects hit. More...
#include <ivaria/collisions.h>

Public Member Functions | |
| virtual float | GetMaximumSlope () const =0 |
| Get the maximum slope, in radians. | |
| virtual void | SetMaximumSlope (float slope)=0 |
| The maximum slope determines the maximum angle that the actor can walk up. | |
Detailed Description
A iCollisionActor is a basic collision agent, that will be blocked by the collision objects standing in its way, but won't interact with them by generating opposite collision forces on the objects hit.
Main creators of instances implementing this interface:
Main users of this interface:
- iCollisionSystem
- Remarks:
- The collider of iCollisionActor must be a convex shape. For example a capsule or a sphere.
Definition at line 583 of file collisions.h.
Member Function Documentation
| virtual float CS::Collisions::iCollisionActor::GetMaximumSlope | ( | ) | const [pure virtual] |
Get the maximum slope, in radians.
The maximum slope determines the maximum angle that the actor can walk up.
| virtual void CS::Collisions::iCollisionActor::SetMaximumSlope | ( | float | slope | ) | [pure virtual] |
The maximum slope determines the maximum angle that the actor can walk up.
The slope angle is measured in radians. The default value is 0.7854f (45 degree).
The documentation for this struct was generated from the following file:
- ivaria/collisions.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
