RigsofRods
Soft-body Physics Simulation
|
Go to the source code of this file.
Macros | |
#define | PHYSICS_DT 0.0005f |
Variables | |
static const int | MAX_ACTORS = 5000 |
maximum number of actors per game session More... | |
static const int | MAX_WHEELS = 64 |
maximum number of wheels per actor More... | |
static const int | MAX_SUBMESHES = 500 |
maximum number of submeshes per actor More... | |
static const int | MAX_TEXCOORDS = 3000 |
maximum number of texture coordinates per actor More... | |
static const int | MAX_CABS = 3000 |
maximum number of cabs per actor More... | |
static const int | MAX_COMMANDS = 84 |
maximum number of commands per actor More... | |
static const int | MAX_CAMERAS = 10 |
maximum number of cameras per actor More... | |
static const int | MAX_AEROENGINES = 8 |
maximum number of aero engines per actor More... | |
static const int | MAX_SCREWPROPS = 8 |
maximum number of boat screws per actor More... | |
static const int | MAX_SOUNDSCRIPTS_PER_TRUCK = 128 |
maximum number of soundsscripts per actor More... | |
static const int | MAX_CPARTICLES = 10 |
maximum number of custom particles per actor More... | |
static const int | MAX_CAMERARAIL = 50 |
maximum number of camera rail points More... | |
static const int | MAX_CLIGHTS = 10 |
See RoRnet::Lightmask and enum events in InputEngine.h. More... | |
static const float | RAD_PER_SEC_TO_RPM = 9.5492965855137f |
Convert radian/second to RPM (60/2*PI) More... | |
static const int | TRUCKFILEFORMATVERSION = 3 |
truck file format version number More... | |
static const float | DEFAULT_RIGIDIFIER_SPRING = 1000000.0f |
static const float | DEFAULT_RIGIDIFIER_DAMP = 50000.0f |
static const float | DEFAULT_SPRING = 9000000.0f |
static const float | DEFAULT_DAMP = 12000.0f |
static const float | DEFAULT_GRAVITY = -9.807f |
earth gravity More... | |
static const float | DEFAULT_DRAG = 0.05f |
static const float | DEFAULT_BEAM_DIAMETER = 0.05f |
5 centimeters default beam width More... | |
static const float | DEFAULT_COLLISION_RANGE = 0.02f |
static const float | DEFAULT_MINIMASS = 50.0f |
minimum node mass in Kg More... | |
static const float | MIN_BEAM_LENGTH = 0.1f |
minimum beam lenght is 10 centimeters More... | |
static const float | INVERTED_MIN_BEAM_LENGTH = 1.0f / MIN_BEAM_LENGTH |
static const float | BEAM_SKELETON_DIAMETER = 0.01f |
static const float | DEFAULT_WATERDRAG = 10.0f |
static const float | IRON_DENSITY = 7874.0f |
static const float | BEAM_BREAK = 1000000.0f |
static const float | BEAM_DEFORM = 400000.0f |
static const float | BEAM_CREAK_DEFAULT = 100000.0f |
static const float | WHEEL_FRICTION_COEF = 2.0f |
static const float | CHASSIS_FRICTION_COEF = 0.5f |
Chassis has 1/4 the friction of wheels. More... | |
static const float | SPEED_STOP = 0.2f |
static const float | STAB_RATE = 0.025f |
static const float | NODE_FRICTION_COEF_DEFAULT = 1.0f |
static const float | NODE_VOLUME_COEF_DEFAULT = 1.0f |
static const float | NODE_SURFACE_COEF_DEFAULT = 1.0f |
static const float | NODE_LOADWEIGHT_DEFAULT = -1.0f |
static const float | SUPPORT_BEAM_LIMIT_DEFAULT = 4.0f |
static const float | ROTATOR_FORCE_DEFAULT = 10000000.0f |
static const float | ROTATOR_TOLERANCE_DEFAULT = 0.0f |
static const float | HOOK_FORCE_DEFAULT = 10000000.0f |
static const float | HOOK_RANGE_DEFAULT = 0.4f |
static const float | HOOK_SPEED_DEFAULT = 0.00025f |
static const float | HOOK_LOCK_TIMER_DEFAULT = 5.0 |
static const int | NODE_LOCKGROUP_DEFAULT = -1 |
static const int | DEFAULT_DETACHER_GROUP = 0 |
static const float | DEFAULT_SPEEDO_MAX_KPH = 140.f |
static const float | FLAP_ANGLES [6] = {0.f, -0.07f, -0.17f, -0.33f, -0.67f, -1.f} |
#define PHYSICS_DT 0.0005f |
Definition at line 20 of file SimConstants.h.
|
static |
maximum number of actors per game session
Definition at line 23 of file SimConstants.h.
|
static |
maximum number of aero engines per actor
Definition at line 30 of file SimConstants.h.
|
static |
maximum number of cabs per actor
Definition at line 27 of file SimConstants.h.
|
static |
maximum number of camera rail points
Definition at line 34 of file SimConstants.h.
|
static |
maximum number of cameras per actor
Definition at line 29 of file SimConstants.h.
|
static |
See RoRnet::Lightmask and enum events in InputEngine.h.
Definition at line 35 of file SimConstants.h.
|
static |
maximum number of commands per actor
Definition at line 28 of file SimConstants.h.
|
static |
maximum number of custom particles per actor
Definition at line 33 of file SimConstants.h.
|
static |
maximum number of boat screws per actor
Definition at line 31 of file SimConstants.h.
|
static |
maximum number of soundsscripts per actor
Definition at line 32 of file SimConstants.h.
|
static |
maximum number of submeshes per actor
Definition at line 25 of file SimConstants.h.
|
static |
maximum number of texture coordinates per actor
Definition at line 26 of file SimConstants.h.
|
static |
maximum number of wheels per actor
Definition at line 24 of file SimConstants.h.
|
static |
Convert radian/second to RPM (60/2*PI)
Definition at line 37 of file SimConstants.h.
|
static |
truck file format version number
Definition at line 40 of file SimConstants.h.