Checks rigid-prop collision geometry, floor clearance and rolling audio lifecycle.
Subsystem: Vehicles, cockpit geometry and surface physics
Fixture/harness: rigidproptests
Setup: The standalone RigidPropTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/RigidPropTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
RigidPropTests.cpp
Source: Tests/RigidPropTests.cpp
Floor Clear
Fixture: Rigid Prop tests
Case symbol: FloorClear
Source: Tests/RigidPropTests.cpp:18
- Test
- Floor Clear: whole hull clears floor.
Source check messages (including original failure wording)
Test Prop Audio
Fixture: Rigid Prop tests
Case symbol: TestPropAudio
Source: Tests/RigidPropTests.cpp:23
- Test
- Test Prop Audio: sustained rolling does not restart its recording each frame; no-substep render frame keeps rolling episode; brief faceted-rim contact gap is quiet.
Source check messages (including original failure wording)
-
rolling starts one sound
-
sustained rolling does not restart its recording each frame
-
no-substep render frame keeps rolling episode
-
brief faceted-rim contact gap is quiet
-
contact gap does not retrigger rolling
-
airborne prop stops rolling sound
-
sliding without rotation does not start a roll sound
-
new rolling and edge impact can sound together
-
re-reading the same physics frame cannot replay an impact
-
later impact can select another sample
-
adjacent solver impacts are debounced
-
sleep stops the rolling sample
-
inactivity clears impact tails as well as rolling
-
resuming starts a fresh rolling episode
-
hitch clears playing sounds
-
initial settling has no impact chatter and at most one rolling start
-
settled can remains silent under continuous support load
-
actual reverse acceleration triggers rolling audio
-
actual footwell collision triggers impact audio
-
sustained contact does not chatter each render frame
-
suppression clears audio without a spawn impact
-
suppression exit primes quietly
-
controller hitch recovery cannot generate audio
Entry-point checks
Fixture: Rigid Prop tests
Case symbol: main
Source: Tests/RigidPropTests.cpp:88
- Test
- Entry-point checks: dashboard and obstacle geometry present; can radial bound includes diagonal vertices; small initial overlap settles locally.
Source check messages (including original failure wording)
-
actual can hull
-
dashboard and obstacle geometry present
-
can radial bound includes diagonal vertices
-
settled can sleeps
-
small initial overlap settles locally
-
acceleration wakes and moves can
-
floor friction produces rolling spin
-
reset clears motion
-
long frame discards motion without respawning from under seat
-
invalid force preserves current pose
-
invalid body recovers last valid seat pose
-
normal simulation resumes locally after hitch
-
fixed steps agree at 30/60/144 Hz
-
high-speed side containment
-
rear stop full shape
-
front wall full shape
-
upper footwell containment
-
swept rim cannot tunnel through monitor post
-
edge collision generates angular response
-
controlled bounce loses energy
-
centrifugal Euler and Coriolis terms
-
authored quaternion matches production renderer
-
view-to-propulsion-to-ASM axis bridge
-
type 70 matching can opts in
-
48 and static props never opt in
-
unconfigured type 70 props remain static
-
runtime positive support force gives downward Vieneo gravity
-
runtime acceleration and units move can forward
-
reverse acceleration passes spawn from floor and seat
-
steady reverse does not reset prop
-
weak reverse seat hold comes from contact friction rather than spawn clamp
-
entire can becomes airborne
-
lift-off has upward velocity
-
airborne can lands and settles
-
trace balances linear velocity
-
trace balances angular velocity
-
trace distinguishes integration from position repair
-
bounded CSV capture succeeds
-
trace rotates within byte limit
-
each trace segment has geometry schema and escaped reset reason
-
unwritable trace is nonfatal
-
simulator entry resets all transient state
-
simulator does not accumulate hidden motion
-
simulator exit primes history without replay
-
teleport resets and primes force/rate history
-
explicit relocation/cockpit reset clears motion
-
recorded driving frame reproduces old relocation threshold
-
recorded driving frame must not respawn can
-
relocation residual uses planet-fixed velocity
-
recorded can stays local at seat and outer wall
-
real teleport still resets with planet rotation present
-
stationary rotating-planet cabin does not reset at 30 Hz
-
invalid rotation velocity preserves can pose
-
trace labels a hitch without reporting a reset
-
controller 300 ms hitch cannot send can to other end of footwell
-
first good sample after hitch primes rates without replay
-
invalid mount sample preserves seat position
-
invalid sample recovery primes history
-
simulator entry still resets during zero-length frame
-
simulator exit after pause does not replay motion
-
door sweep leaves no hull/triangle penetration
-
inward door face deflects can down before outer sill
-
real seat front underside blocks upward flight
-
whole can fits and rests under the front seat overhang
-
rolling into seat overhang never causes a large position jump
-
seat entry preserves rear stop
-
rearward loading brings can under seat locally
-
sliding friction trades translation for rolling
-
tilted gravity produces downhill motion
-
stress upper bound
-
stress rear bound
-
stress forward bound
-
stress sill bound
-
stress tapered console bound
-
trace output opens
-
diagnostic fixture capture succeeds