Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2008, 11:09:43 PM (15 years ago)
Author:
rgrieder
Message:
  • Added support for attaching physical WorldEntities to each other. Currently you can only add static objects to kinematic/dynamic/static other objects. Future plans involve attaching kinematic objects to static/kinematic ones. All other combinations don't make sense at all.
  • Added CollisionShape, SphereCollisionShape and CompoundCollisionShape

Usage for collision shapes (example):

<LinearEntity collisionType="kinematic">

<attached>

<Model position="0,0,0" scale=10 mesh="ast1.mesh" />
<StaticEntity position="0,10,0" collisionType="static"> # Everything else than "static" fails!

<collisionShapes>

<SphereCollisionShape radius=40 position="10,10,-10"/>
<CompoundCollisionShape position="4,4,4"> # You can also make compound shapes directly

<SphereCollisionShape radius=10/>

</CompoundCollisionShape>

</collisionShapes>

</StaticEntity>

</attached>

</LinearEntity>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/visual_studio/vc8/orxonox.vcproj

    r2300 r2303  
    348348                                                </File>
    349349                                        </Filter>
     350                                        <Filter
     351                                                Name="collisionShapes"
     352                                                >
     353                                                <File
     354                                                        RelativePath="..\..\src\orxonox\objects\worldentities\collisionShapes\CollisionShape.cc"
     355                                                        >
     356                                                </File>
     357                                                <File
     358                                                        RelativePath="..\..\src\orxonox\objects\worldentities\collisionShapes\CompoundCollisionShape.cc"
     359                                                        >
     360                                                </File>
     361                                                <File
     362                                                        RelativePath="..\..\src\orxonox\objects\worldentities\collisionShapes\SphereCollisionShape.cc"
     363                                                        >
     364                                                </File>
     365                                        </Filter>
    350366                                </Filter>
    351367                                <Filter
     
    12521268                                                </File>
    12531269                                        </Filter>
     1270                                        <Filter
     1271                                                Name="collisionShapes"
     1272                                                >
     1273                                                <File
     1274                                                        RelativePath="..\..\src\orxonox\objects\worldentities\collisionShapes\CollisionShape.h"
     1275                                                        >
     1276                                                </File>
     1277                                                <File
     1278                                                        RelativePath="..\..\src\orxonox\objects\worldentities\collisionShapes\CompoundCollisionShape.h"
     1279                                                        >
     1280                                                </File>
     1281                                                <File
     1282                                                        RelativePath="..\..\src\orxonox\objects\worldentities\collisionShapes\SphereCollisionShape.h"
     1283                                                        >
     1284                                                </File>
     1285                                        </Filter>
    12541286                                </Filter>
    12551287                                <Filter
     
    14191451                                <File
    14201452                                        RelativePath="..\..\src\orxonox\tools\BillboardSet.h"
     1453                                        >
     1454                                </File>
     1455                                <File
     1456                                        RelativePath="..\..\src\orxonox\tools\BulletConversions.h"
    14211457                                        >
    14221458                                </File>
Note: See TracChangeset for help on using the changeset viewer.