The Nebula Device 3: PhysicsFeature Namespace Reference

The Nebula Device 3

PhysicsFeature Namespace Reference


Detailed Description

The PhysicsFeature namespace contains properties and messages for using collision and physics with the entity system of the game application.

This property adds pieces of static collide geometry to the game world. It is very similar to the class EnvironmentGraphicsProperty, but instead of graphics it handles collision. All static collide geometry in a level will usually be added to one EnvironmentCollideProperty, which in turn lives in a single game entity which represent the environment graphics and collission. That way the game entity pool isn't flooded with hundreds of game entities which would end up doing nothing because they just represent static geometry. Instead, everything static about the level is put into a single entity.

NOTE: usually you don't need to care about this class, it's used by the level loader which automatically collects all environment objects into a single game entity.

(C) 2005 Radon Labs GmbH

Data Structures

class  MouseGripperProperty
class  PhysicsProperty