palWheel Class Reference

#include <palVehicle.h>

List of all members.

Public Member Functions

virtual void Init (Float x, Float y, Float z, Float radius, Float width, Float suspension_rest_length, Float suspension_Ks, Float suspension_Kd, bool powered, bool steering, bool brakes, Float suspension_Travel, Float friction_Slip)


Detailed Description

The wheel class. This represents a wheel.

Member Function Documentation

virtual void palWheel::Init ( Float  x,
Float  y,
Float  z,
Float  radius,
Float  width,
Float  suspension_rest_length,
Float  suspension_Ks,
Float  suspension_Kd,
bool  powered,
bool  steering,
bool  brakes,
Float  suspension_Travel,
Float  friction_Slip 
) [inline, virtual]

Initializes a wheel.

Parameters:
x The x-coordinate of the wheel (relative to car center)
y The y-coordinate of the wheel (relative to car center)
z The z-coordinate of the wheel (relative to car center)
radius The radius of the wheel
width The width of the wheel
suspension_rest_length The resting length of the suspension spring
suspension_Ks The spring constant for the suspension
suspension_Kd The dampening constant for the suspension
suspension_Travel The max distance the suspension may travel
powered Flag indicating whether this wheel is powered (driven) by the motor
steering Flag indicating whether this wheel is affected by steering
breaks Flag indicating whether this wheel is affected by breaking


The documentation for this class was generated from the following file:

Generated on Mon Aug 31 13:58:02 2009 for pal by  doxygen 1.5.7.1