This commit is contained in:
parent
c16f9c770b
commit
89aedc2e2e
10 changed files with 91 additions and 160 deletions
|
@ -32,7 +32,10 @@
|
|||
|
||||
void CNpcFishHookPlatform::postInit()
|
||||
{
|
||||
CNpcPlatform::postInit();
|
||||
sBBox boundingBox = m_modelGfx->GetBBox();
|
||||
boundingBox.YMin += 18;
|
||||
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), ( boundingBox.YMax - boundingBox.YMin ) );
|
||||
setCollisionCentreOffset( ( boundingBox.XMax + boundingBox.XMin ) >> 1, ( boundingBox.YMax + boundingBox.YMin ) >> 1 );
|
||||
|
||||
m_isMoving = false;
|
||||
m_isResetting = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue