minor type in simdvector3, no picking on fixed objects, no run-time type info
This commit is contained in:
@@ -1751,7 +1751,7 @@ void clientMouseFunc(int button, int state, int x, int y)
|
||||
CcdPhysicsController* physCtrl = static_cast<CcdPhysicsController*>(hitObj);
|
||||
RigidBody* body = physCtrl->GetRigidBody();
|
||||
|
||||
if (body)
|
||||
if (body && !body->IsStatic())
|
||||
{
|
||||
pickedBody = body;
|
||||
pickedBody->SetActivationState(DISABLE_DEACTIVATION);
|
||||
|
||||
Reference in New Issue
Block a user