mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #1691 from Azaezel/alpha41/projectileProjection
client projectile origin tweak
This commit is contained in:
commit
1e2a3ffcf0
1 changed files with 4 additions and 1 deletions
|
|
@ -873,8 +873,11 @@ bool Projectile::onAdd()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mSourceObject.isValid())
|
if (mSourceObject.isValid())
|
||||||
|
{
|
||||||
processAfter(mSourceObject);
|
processAfter(mSourceObject);
|
||||||
|
if (isClientObject())
|
||||||
|
mSourceObject->getRenderMuzzlePoint(mSourceObjectSlot, &mCurrPosition);
|
||||||
|
}
|
||||||
// Setup our bounding box
|
// Setup our bounding box
|
||||||
if (bool(mDataBlock->getProjectileShape()) == true)
|
if (bool(mDataBlock->getProjectileShape()) == true)
|
||||||
mObjBox = mDataBlock->getProjectileShape()->mBounds;
|
mObjBox = mDataBlock->getProjectileShape()->mBounds;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue