mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 14:43:47 +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)
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ public:
|
|||
bool onNewDataBlock(GameBaseData *dptr, bool reload);
|
||||
|
||||
void processTick(const Move *move);
|
||||
void interpolateTick(F32 delta);
|
||||
void setTransform(const MatrixF &mat);
|
||||
|
||||
U32 packUpdate (NetConnection *conn, U32 mask, BitStream *stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue