Static query (#214)

Add b3World_OverlapAABB_Static workaround. Not recommended.
Fixed a left over ghost collision
This commit is contained in:
Erin Catto 2026-11-10 23:05:04 -08:00 • committed by GitHub
commit 5d6364d731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 311 additions and 49 deletions

View file

@ -2385,6 +2385,19 @@ public:
relaunch = true;
}
// The beams ghost needs the s&box character hovering on speculative contacts
if ( settings.scene == e_ghostBeams )
{
settings.fixedRotation = true;
settings.speculative = true;
settings.speed = GHOST_BEAM_SPEED;
if ( settings.body != e_ghostBox && settings.body != e_ghostCylinder )
{
settings.body = e_ghostBox;
}
relaunch = true;
}
if ( settings.scene == e_ghostInternal )
{
m_camera->SetView( 60.0f, 20.0f, 160.0f, { 0.0f, 30.0f, 0.0f } );