|
@@ -1324,6 +1324,12 @@ void ShapeBase::processTick(const Move* move)
|
|
|
if (mWhiteOut <= 0.0)
|
|
|
mWhiteOut = 0.0;
|
|
|
}
|
|
|
+
|
|
|
+ if (isMounted()) {
|
|
|
+ MatrixF mat;
|
|
|
+ mMount.object->getMountTransform( mMount.node, mMount.xfm, &mat );
|
|
|
+ Parent::setTransform(mat);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void ShapeBase::advanceTime(F32 dt)
|
|
@@ -1382,6 +1388,12 @@ void ShapeBase::advanceTime(F32 dt)
|
|
|
mFadeVal = 1 - mFadeVal;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if (isMounted()) {
|
|
|
+ MatrixF mat;
|
|
|
+ mMount.object->getRenderMountTransform( 0.0f, mMount.node, mMount.xfm, &mat );
|
|
|
+ Parent::setRenderTransform(mat);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void ShapeBase::setControllingClient( GameConnection* client )
|