Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
NDK class that represents the component for velocity. More...
Inherits Ndk::Component< ComponentType >, and Nz::HandledObject< T >.
Public Member Functions | |
VelocityComponent (const Nz::Vector3f &velocity=Nz::Vector3f::Zero()) | |
Constructs a VelocityComponent object with a velocity. More... | |
VelocityComponent & | operator= (const Nz::Vector3f &vel) |
Assigns the velocity to this component. More... | |
Public Attributes | |
Nz::Vector3f | linearVelocity |
Static Public Attributes | |
static ComponentIndex | componentIndex |
NDK class that represents the component for velocity.
|
inline |
Constructs a VelocityComponent object with a velocity.
velocity | Linear velocity |
|
inline |
Assigns the velocity to this component.
vel | Linear velocity |