Add missing conversion from radians to degrees when moving track object from physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
35b508ae14
commit
d1759b8d88
@ -496,7 +496,7 @@ void PhysicalObject::update(float dt)
|
||||
//m_node->setRotation(hpr.toIrrHPR());
|
||||
|
||||
core::vector3df scale(1,1,1);
|
||||
m_object->move(xyz.toIrrVector(), hpr.toIrrVector(), scale, false);
|
||||
m_object->move(xyz.toIrrVector(), hpr.toIrrVector()*RAD_TO_DEGREE, scale, false);
|
||||
return;
|
||||
} // update
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user