BGE: Fix T45259 collision sensor registration.
This commit is contained in:
parent
749f346ce0
commit
b997bda9f9
Notes:
blender-bot
2023-02-14 08:56:51 +01:00
Referenced by issue #45259, Blender Game Engine Logic bricks material collision bug
|
@ -2242,7 +2242,7 @@ void CcdPhysicsEnvironment::AddTouchCallback(int response_class, PHY_ResponseCal
|
|||
bool CcdPhysicsEnvironment::RequestCollisionCallback(PHY_IPhysicsController* ctrl)
|
||||
{
|
||||
CcdPhysicsController* ccdCtrl = static_cast<CcdPhysicsController*>(ctrl);
|
||||
return !ccdCtrl->Register();
|
||||
return ccdCtrl->Register();
|
||||
}
|
||||
|
||||
void CcdPhysicsEnvironment::CallbackTriggers()
|
||||
|
|
Loading…
Reference in New Issue