bugfix:: added objects didn't have proper physics id (they used the physics id from the 'hidden layer' original.
This commit is contained in:
@@ -187,7 +187,7 @@ SG_Controller* KX_BulletPhysicsController::GetReplica(class SG_Node* destnode)
|
||||
}
|
||||
|
||||
physicsreplica->PostProcessReplica(motionstate,parentctrl);
|
||||
|
||||
physicsreplica->m_userdata = (PHY_IPhysicsController*)physicsreplica;
|
||||
return physicsreplica;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user