|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
20 #define PHYSICS_DT 0.0005f // fixed dt of 0.5 ms
82 static const float FLAP_ANGLES[6] = {0.f, -0.07f, -0.17f, -0.33f, -0.67f, -1.f};
static const int MAX_ACTORS
maximum number of actors per game session
static const int MAX_COMMANDS
maximum number of commands per actor
static const int TRUCKFILEFORMATVERSION
truck file format version number
static const float BEAM_SKELETON_DIAMETER
static const float NODE_FRICTION_COEF_DEFAULT
static const int MAX_CLIGHTS
See RoRnet::Lightmask and enum events in InputEngine.h.
static const float BEAM_DEFORM
static const float IRON_DENSITY
static const float DEFAULT_BEAM_DIAMETER
5 centimeters default beam width
static const float STAB_RATE
static const float NODE_LOADWEIGHT_DEFAULT
static const float DEFAULT_RIGIDIFIER_SPRING
static const float HOOK_SPEED_DEFAULT
static const float BEAM_BREAK
static const float DEFAULT_COLLISION_RANGE
static const float NODE_VOLUME_COEF_DEFAULT
static const float DEFAULT_MINIMASS
minimum node mass in Kg
static const int DEFAULT_DETACHER_GROUP
static const float DEFAULT_RIGIDIFIER_DAMP
static const float INVERTED_MIN_BEAM_LENGTH
static const float RAD_PER_SEC_TO_RPM
Convert radian/second to RPM (60/2*PI)
static const float HOOK_FORCE_DEFAULT
static const float DEFAULT_WATERDRAG
static const int MAX_CPARTICLES
maximum number of custom particles per actor
static const float ROTATOR_TOLERANCE_DEFAULT
static const int MAX_SUBMESHES
maximum number of submeshes per actor
static const int MAX_CAMERAS
maximum number of cameras per actor
static const float HOOK_RANGE_DEFAULT
static const float SPEED_STOP
static const float NODE_SURFACE_COEF_DEFAULT
static const int NODE_LOCKGROUP_DEFAULT
static const float WHEEL_FRICTION_COEF
static const float DEFAULT_DRAG
static const int MAX_CAMERARAIL
maximum number of camera rail points
static const float DEFAULT_SPEEDO_MAX_KPH
static const float HOOK_LOCK_TIMER_DEFAULT
static const float ROTATOR_FORCE_DEFAULT
static const float BEAM_CREAK_DEFAULT
static const float CHASSIS_FRICTION_COEF
Chassis has 1/4 the friction of wheels.
static const int MAX_SOUNDSCRIPTS_PER_TRUCK
maximum number of soundsscripts per actor
static const float DEFAULT_SPRING
static const float MIN_BEAM_LENGTH
minimum beam lenght is 10 centimeters
static const int MAX_CABS
maximum number of cabs per actor
static const float DEFAULT_DAMP
static const float FLAP_ANGLES[6]
static const float DEFAULT_GRAVITY
earth gravity
static const float SUPPORT_BEAM_LIMIT_DEFAULT
static const int MAX_WHEELS
maximum number of wheels per actor
static const int MAX_SCREWPROPS
maximum number of boat screws per actor
static const int MAX_AEROENGINES
maximum number of aero engines per actor
static const int MAX_TEXCOORDS
maximum number of texture coordinates per actor