Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Public Attributes
physics::CollisionPoint Struct Reference

Structure containing information about a collision point. More...

#include <CollisionPoint.h>

List of all members.

Public Member Functions

 CollisionPoint ()

Public Attributes

core::vector3d mCollisionNormal
 The contact normal.
core::vector3d mCollisionPosition
 The contact position.
f32 mDistance
 The distance between closest points. Negative distance indicates inter-penetrations.
f32 mImpulse
 The impulse magnitude used to resolve the constraints on the bodies along the normal.
core::vector3d mImpulseLateral1
 Impulse vector applied to the body based on friction in the direction of travel along the second body.
core::vector3d mImpulseLateral2
 Impulse vector applied to the body based on friction in the direction normal to both the contact normal and the laterl1 vector.

Detailed Description

Structure containing information about a collision point.


Constructor & Destructor Documentation

physics::CollisionPoint::CollisionPoint ( )

Member Data Documentation

The contact normal.

Referenced by CollisionPoint().

The contact position.

Referenced by CollisionPoint().

The distance between closest points. Negative distance indicates inter-penetrations.

Referenced by CollisionPoint().

The impulse magnitude used to resolve the constraints on the bodies along the normal.

Referenced by CollisionPoint().

Impulse vector applied to the body based on friction in the direction of travel along the second body.

Referenced by CollisionPoint().

Impulse vector applied to the body based on friction in the direction normal to both the contact normal and the laterl1 vector.

Referenced by CollisionPoint().


The documentation for this struct was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by Doxygen (1.7.4)