Set the physics scale on added objects. (Fix bug #1837)
This commit is contained in:
@@ -174,7 +174,8 @@ void SumoPhysicsController::setPosition(float posX,float posY,float posZ)
|
||||
|
||||
void SumoPhysicsController::setScaling(float scaleX,float scaleY,float scaleZ)
|
||||
{
|
||||
m_sumoObj->setScaling(MT_Vector3(scaleX,scaleY,scaleZ));
|
||||
if (!m_bDyna)
|
||||
m_sumoObj->setScaling(MT_Vector3(scaleX,scaleY,scaleZ));
|
||||
}
|
||||
|
||||
// physics methods
|
||||
|
||||
Reference in New Issue
Block a user