#define VEHICLE_H
#include "skaterift.h"
-#include "rigidbody.h"
+#include "vg/vg_rigidbody.h"
#include "player.h"
#include "world.h"
#include "world_physics.h"
struct drivable_vehicle
{
int alive, inside;
- rb_object obj;
+ rigidbody rb;
v3f wheels[4];
}
static gzoomer =
{
- .obj = { .type = k_rb_shape_sphere, .inf.sphere.radius = 1.0f,
- .rb.co = {-2000,-2000,-2000}}
+ .rb.co = {-2000,-2000,-2000}
};
static int spawn_car( int argc, const char *argv[] );