| 920 | } |
| 921 | |
| 922 | void TSStatic::setTransform(const MatrixF& mat) |
| 923 | { |
| 924 | Parent::setTransform(mat); |
| 925 | if (!isMounted()) |
| 926 | setMaskBits(TransformMask); |
| 927 | |
| 928 | if (mPhysicsRep) |
| 929 | mPhysicsRep->setTransform(mat); |
| 930 | |
| 931 | // Accumulation |
| 932 | if (isClientObject() && mShapeInstance) |
| 933 | { |
| 934 | if (mShapeInstance->hasAccumulation()) |
| 935 | AccumulationVolume::updateObject(this); |
| 936 | } |
| 937 | |
| 938 | // Since this is a static it's render transform changes 1 |
| 939 | // to 1 with it's collision transform... no interpolation. |
| 940 | setRenderTransform(mat); |
| 941 | } |
| 942 | |
| 943 | U32 TSStatic::packUpdate(NetConnection* con, U32 mask, BitStream* stream) |
| 944 | { |
no test coverage detected