dtCore::Scene::CollisionData Struct Reference

The user data associated with "collision" messages. More...

#include <scene.h>

List of all members.

Public Attributes

TransformablemBodies [2]
 The bodies colliding.
osg::Vec3 mLocation
 The collision location.
osg::Vec3 mNormal
 The collision normal.
float mDepth
 The penetration depth.


Detailed Description

The user data associated with "collision" messages.

Member Data Documentation

Transformable* dtCore::Scene::CollisionData::mBodies[2]

The bodies colliding.

osg::Vec3 dtCore::Scene::CollisionData::mLocation

The collision location.

osg::Vec3 dtCore::Scene::CollisionData::mNormal

The collision normal.

float dtCore::Scene::CollisionData::mDepth

The penetration depth.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008