class Vehicle: public Object
{
public:
- enum PlaceMode
- {
- CENTER,
- FRONT_AXLE,
- FRONT_BUFFER,
- BACK_AXLE,
- BACK_BUFFER
- };
-
struct Axle
{
const VehicleType::Axle *type;
void check_sensor(const TrackOffsetIter &, unsigned &, bool);
void turn_axles(float);
void update_rods();
+ float resolve_rod_constraint(Rod &, const VehicleType::RodConstraint &);
public:
virtual unsigned get_n_link_slots() const;
virtual Vehicle *get_link(unsigned) const;
virtual int get_link_slot(const Object &) const;
+
+ virtual bool collide_ray(const Ray &, float * = 0) const;
};
} // namespace R2C2