From c39ca2c25ebf80538d3621f07f224b56e7b8cf35 Mon Sep 17 00:00:00 2001 From: OTHGMars Date: Mon, 16 Jun 2014 20:47:42 -0400 Subject: [PATCH] StaticShape Mounting --- Engine/source/T3D/staticShape.cpp | 16 ---------------- Engine/source/T3D/staticShape.h | 1 - 2 files changed, 17 deletions(-) diff --git a/Engine/source/T3D/staticShape.cpp b/Engine/source/T3D/staticShape.cpp index 0f882824a..ffad91dd3 100644 --- a/Engine/source/T3D/staticShape.cpp +++ b/Engine/source/T3D/staticShape.cpp @@ -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) diff --git a/Engine/source/T3D/staticShape.h b/Engine/source/T3D/staticShape.h index 6dd9d0432..c6802a36f 100644 --- a/Engine/source/T3D/staticShape.h +++ b/Engine/source/T3D/staticShape.h @@ -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);