fix(vehicle): spawn on the road, not 2.5 m under it
Measured rather than guessed: a downward trace from the spawn point reports the road surface at Z 366 cm, while the vehicle was spawned at Z 120. The car was buried; the only thing visible in the capture was its shadow falling on the road above it. Spawn is now Z 470, the camera aims at 430, and it settles at Z 470. Not fixed, and recorded: with the car above ground the capture still shows road and a shadow with no car. Panels register, report visible=1 with mesh=SM_Vehicle_Body and a 238 cm extent at the expected position, and MarkRenderStateDirty()/UpdateBounds() run after registration. The shadow proves a collider is there; the visible geometry is not. Screenshots/README.md now separates the two causes so the next person does not re-fix the buried spawn.
This commit is contained in:
1 parent
627737062b
commit
1cddfbfc68
40 files changed
+75
-51
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user