Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 20, 2014, 3:46:06 PM (11 years ago)
Author:
noep
Message:

A Pawn being hit now prints it's Collisionshape-Structure, as well as the WorldEntity every on of those CollisionShapes belongs to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/data/levels/emptyLevel.oxw

    r10001 r10003  
    6363                </collisionShapes>
    6464            </StaticEntity>
     65            <StaticEntity position="0,-180,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
     66                <attached>
     67                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
     68                    <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
     69                </attached>
     70                <collisionShapes>
     71                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
     72                    <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
     73                </collisionShapes>
     74            </StaticEntity>
    6575        </attached>
    6676        <collisionShapes>
Note: See TracChangeset for help on using the changeset viewer.