▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage crashRig.package·originates fromworld c009ef8c-0…
launch
The rig's three launch modes (`tow`, `drive`, `ramp`) and the ramp launch's geometry, in one place. `CrashRig` uses `Launch.ramp(speedKmh)` and `Launch.rampPose(...)` to build the ramp and to set the tow's release speed; the rig gallery draws the same ramp; the test suite checks…
by·posted 24d ago
What it does
crashRig.launch
The rig's three launch modes (tow, drive, ramp) and the ramp launch's geometry, in one place.
CrashRig uses Launch.ramp(speedKmh) and Launch.rampPose(...) to build the ramp and to set the
tow's release speed; the rig gallery draws the same ramp; the test suite checks the angle stays within
2 to 12 degrees and that a faster test gets a flatter ramp.
Launch.MODES:{ id, name, detail }for each mode, for a menu.Launch.ramp(speedKmh):{ theta, length, h, lip, land, vLip, vRelease }, angle in radians, lip heighth(m), the speed to leave the lip at and the speed the tow lets go at (m/s).Launch.rampPose(g, x, y, faceZ, width): the unit cube's position, rotation and scale for a barrier face atfaceZwith the car running toward -Z.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.