Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 13, 2015, 10:55:12 PM (9 years ago)
Author:
landauf
Message:

added BulletDebugDrawer to Scene.
added console command to enable/disable debug drawing of bullet objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Scene.h

    r9667 r10196  
    129129            void removePhysicalObject(WorldEntity* object);
    130130
     131            void setDebugDrawPhysics(bool bDraw, bool bFill, float fillAlpha);
     132
     133            static void consoleCommand_debugDrawPhysics(bool bDraw, bool bFill, float fillAlpha);
     134
    131135        private:
    132136            inline void networkcallback_hasPhysics()
     
    156160            Vector3                              positiveWorldRange_;
    157161            Vector3                              gravity_;
     162
     163            BulletDebugDrawer*                   debugDrawer_;
     164            bool                                 bDebugDrawPhysics_;
    158165    };
    159166}
Note: See TracChangeset for help on using the changeset viewer.