mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-22 22:00:54 +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())
|
||||
{
|
||||
processAfter(mSourceObject);
|
||||
|
||||
if (isClientObject())
|
||||
mSourceObject->getRenderMuzzlePoint(mSourceObjectSlot, &mCurrPosition);
|
||||
}
|
||||
// Setup our bounding box
|
||||
if (bool(mDataBlock->getProjectileShape()) == true)
|
||||
mObjBox = mDataBlock->getProjectileShape()->mBounds;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue