This commit is contained in:
parent
b209ab73c8
commit
53f0008276
4 changed files with 71 additions and 4 deletions
|
@ -18,10 +18,11 @@
|
|||
|
||||
void CNpcLoveBoatPlatform::postInit()
|
||||
{
|
||||
CNpcRaftPlatform::postInit();
|
||||
CNpcCartPlatform::postInit();
|
||||
|
||||
sBBox boundingBox = m_modelGfx->GetBBox();
|
||||
boundingBox.YMin += 32;
|
||||
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), ( boundingBox.YMax - boundingBox.YMin ) );
|
||||
setCollisionCentreOffset( ( boundingBox.XMax + boundingBox.XMin ) >> 1, ( boundingBox.YMax + boundingBox.YMin ) >> 1 );
|
||||
calculateNonRotatedCollisionData();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue