Static query (#214)
Add b3World_OverlapAABB_Static workaround. Not recommended. Fixed a left over ghost collision
This commit is contained in:
parent
38f2ae1e19
commit
5d6364d731
20 changed files with 311 additions and 49 deletions
|
|
@ -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 } );
|
||||
|
|
|
|||
Loading…
Reference in a new issue