This commit is contained in:
parent
c16f9c770b
commit
89aedc2e2e
10 changed files with 91 additions and 160 deletions
|
@ -31,7 +31,10 @@
|
|||
|
||||
void CNpcPendulumPlatform::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_extendDir = EXTEND_LEFT;
|
||||
m_extension = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue