#include <FloorConstraint.h>
Inheritance diagram for OpenCAL::FloorConstraint:


Public Member Functions | |
| FloorConstraint (PhysicsSystem *parent) | |
| FloorConstraint (PhysicsSystem *parent, Plane *floorPlane) | |
| void | satisfy () |
Protected Attributes | |
| Plane * | m_plane |
| float | m_height |
| float | m_restitution |
| "Bounciness" | |
| float | m_friction |
Definition at line 29 of file FloorConstraint.h.
|
|
Reimplemented from OpenCAL::Agent. Definition at line 52 of file FloorConstraint.cpp. References OpenCAL::Physical::addForce(), OpenCAL::Plane::getNormal(), OpenCAL::Object::getPosition(), OpenCAL::Object::getPositionP(), OpenCAL::Physical::getVelocity(), OpenCAL::Physical::getVelocityP(), OpenCAL::Utils::Vector3::getY(), m_restitution, and OpenCAL::Utils::Vector3::setY(). Here is the call graph for this function: ![]() |
1.3.8