Handles calculation of air friction.
More...
#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/physics/PhysicsVelocityComponent.h>
Handles calculation of air friction.
Definition at line 41 of file PhysicsVelocityComponent.h.
i6e::modules::PhysicsVelocityComponent::PhysicsVelocityComponent |
( |
PhysicsNode * |
node, |
|
|
double |
mass, |
|
|
double |
maxSpeed, |
|
|
double |
resistanceCoefficient, |
|
|
double |
windage |
|
) |
| |
void i6e::modules::PhysicsVelocityComponent::setMaxSpeed |
( |
double |
maxSpeed | ) |
|
|
inline |
void i6e::modules::PhysicsVelocityComponent::setResistanceCoefficient |
( |
double |
resistanceCoefficient | ) |
|
|
inline |
void i6e::modules::PhysicsVelocityComponent::setWindage |
( |
double |
windage | ) |
|
|
inline |
void i6e::modules::PhysicsVelocityComponent::stopAcceleration |
( |
| ) |
|
void i6e::modules::PhysicsVelocityComponent::Tick |
( |
| ) |
|
The documentation for this class was generated from the following file: