forked from bartvdbraak/blender
fixed collision sensor for dynamically created objects using Bullet physics
This commit is contained in:
parent
d1c0a4e6d1
commit
c781a840b2
@ -53,7 +53,7 @@ void KX_BulletPhysicsController::SetObject (SG_IObject* object)
|
||||
|
||||
KX_GameObject* gameobj = (KX_GameObject*) object->GetSGClientObject();
|
||||
gameobj->SetPhysicsController(this,gameobj->IsDynamic());
|
||||
//GetSumoObject()->setClientObject(gameobj->getClientInfo());
|
||||
CcdPhysicsController::setNewClientInfo(gameobj->getClientInfo());
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user