poesel Posted October 1, 2006 Share Posted October 1, 2006 Ok, last question for today <CollisionBox> is in the docs, but not its child <Name> as from the Apollo: <CollisionBox> <Position>5.229,-0.975,-4.172</Position> <Lengths>2.528,21.256,1.591</Lengths> <Angles>0,0,0</Angles> <Name>RightTrack</Name> </CollisionBox> I know that <Contact> has the special Name Right/LeftTrack but does it do anything special in the CollisionBox? And to clarify: Position is the center of the box and lengths its dimension. So, for example, a box with position x=5.0 and length x=10.0 goes from absolute x=0.0 to x=10.0? Link to comment Share on other sites More sharing options...
ClaytoniousRex Posted October 2, 2006 Share Posted October 2, 2006 Yes, there are 3 special Names that CollisionBoxes can have. LeftTrack and RightTrack work just like their Contact counterparts (this is to make the tracks work when colliding with other objects instead of the terrain - such as driving on top of a bridge, for example). Also, the special name "Prone" for a CollisionBox can be used if the box is on an Infantry object. In that case, the box will only be active when the infantry is prone. You can use this to have one set of boxes for the standing infantry and a different set for the prone position. Yes, your summary about position and lengths is correct. Link to comment Share on other sites More sharing options...
Recommended Posts