client projectile origin tweak

on the client, start the projectile simulation starting point at the rendered muzzlepoint (reminder server corrective packets will force it to converge as it goes along)
origional report/revision suggestion couressy loljester: https://discord.com/channels/358091480004558848/358091480004558849/1476994844005109893
This commit is contained in:
AzaezelX 2026-03-16 22:24:45 -05:00
parent e5ac88e914
commit 45e2a00f20

View file

@ -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;