mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Merge pull request #1219 from Azaezel/alpha41/npcnono
fix non player class pathshape jitter
This commit is contained in:
commit
e0cf6cd1b7
1 changed files with 1 additions and 5 deletions
|
|
@ -1729,11 +1729,7 @@ void SceneObject::updateRenderChangesByParent(){
|
||||||
//add the "offset" caused by the parents change, and add it to it's own
|
//add the "offset" caused by the parents change, and add it to it's own
|
||||||
// This is needed by objects that update their own render transform thru interpolate tick
|
// This is needed by objects that update their own render transform thru interpolate tick
|
||||||
// Mostly for stationary objects.
|
// Mostly for stationary objects.
|
||||||
|
mat.mul(offset,getRenderTransform());
|
||||||
if (getClassName() == StringTable->insert("Player"))
|
|
||||||
mat.mul(offset,getRenderTransform());
|
|
||||||
else
|
|
||||||
mat.mul(offset,getTransform());
|
|
||||||
setRenderTransform(mat);
|
setRenderTransform(mat);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue