#include <ViscousDrag.h>
Inheritance diagram for OpenCAL::ViscousDrag:
Public Member Functions | |
ViscousDrag (PhysicsSystem *parent, float drag=0.002f) | |
float | getDrag () const |
void | setDrag (float drag) |
void | execute (float seconds) |
Protected Attributes | |
float | m_drag |
Definition at line 27 of file ViscousDrag.h.
|
Reimplemented from OpenCAL::Actor. Definition at line 49 of file ViscousDrag.cpp. References OpenCAL::Physical::addForce(), and OpenCAL::Physical::getVelocity(). Here is the call graph for this function: ![]() |