L_MotionController Class Reference

#include <L_MotionController.h>

List of all members.

Detailed Description

Motion controller for complex motions of particle(s).

Public Member Functions

void set_1d_acceleration (L_REAL acce)
void set_2d_acceleration (const L_Vector &vector)
void set_point_acceleration (L_REAL x_pos, L_REAL y_pos, L_REAL magnitude)
void set_speed_limit (L_REAL max_speed)


class L_Particle

Member Function Documentation

void set_1d_acceleration L_REAL  acce  ) 

Set 1D accleration for particle(s), negative value for deceleration.
Note : The change of 1d acceleration only affects new particles.

void set_2d_acceleration const L_Vector vector  ) 

Set 2D accleration for particle(s).

void set_point_acceleration L_REAL  x_pos,
L_REAL  y_pos,
L_REAL  magnitude

Set point of gravity to attract particle(s).
Note : For time based system, manual sub-stepping is required in order to run precisely when this gravitation point acceleration is used (refer to cmotion example).

void set_speed_limit L_REAL  max_speed  ) 

Set maximum speed limit for particle(s).

logo LinearParticle Documentation © 2006-2007 by Wong Chin Foo.
Generated on 8 Jun 2007 by doxygen 1.4.6-NO