mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
fix non player class pathshape jitter
everything has a consistent getRenderTransform() nowadays
This commit is contained in:
parent
25a3c3325f
commit
a4da6727ed
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
|
||||
// This is needed by objects that update their own render transform thru interpolate tick
|
||||
// Mostly for stationary objects.
|
||||
|
||||
if (getClassName() == StringTable->insert("Player"))
|
||||
mat.mul(offset,getRenderTransform());
|
||||
else
|
||||
mat.mul(offset,getTransform());
|
||||
mat.mul(offset,getRenderTransform());
|
||||
setRenderTransform(mat);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue