mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
StaticShape Mounting
This commit is contained in:
parent
b5a957dfdc
commit
c39ca2c25e
2 changed files with 0 additions and 17 deletions
|
|
@ -232,22 +232,6 @@ void StaticShape::processTick(const Move* move)
|
|||
setImageTriggerState(0,move->trigger[0]);
|
||||
setImageTriggerState(1,move->trigger[1]);
|
||||
}
|
||||
|
||||
if (isMounted()) {
|
||||
MatrixF mat;
|
||||
mMount.object->getMountTransform( mMount.node, mMount.xfm, &mat );
|
||||
Parent::setTransform(mat);
|
||||
Parent::setRenderTransform(mat);
|
||||
}
|
||||
}
|
||||
|
||||
void StaticShape::interpolateTick(F32 delta)
|
||||
{
|
||||
if (isMounted()) {
|
||||
MatrixF mat;
|
||||
mMount.object->getRenderMountTransform( delta, mMount.node, mMount.xfm, &mat );
|
||||
Parent::setRenderTransform(mat);
|
||||
}
|
||||
}
|
||||
|
||||
void StaticShape::setTransform(const MatrixF& mat)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue