PhysicsEntity

Undocumented in source.

Constructors

this
this(Drawable d, RigidBody rb, uint shapeIndex)
Undocumented in source.

Members

Functions

draw
void draw(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
drawModel
void drawModel(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

material
Material material;
Undocumented in source.
rbody
RigidBody rbody;
Undocumented in source.
shape
ShapeComponent shape;
Undocumented in source.
useMaterial
bool useMaterial;
Undocumented in source.

Inherited Members

From Entity

id
int id;
Undocumented in source.
name
string name;
Undocumented in source.
type
uint type;
Undocumented in source.
materialId
int materialId;
Undocumented in source.
meshId
int meshId;
Undocumented in source.
debugDraw
bool debugDraw;
Undocumented in source.
drawable
Drawable drawable;
Undocumented in source.
modifier
Modifier modifier;
Undocumented in source.
position
Vector3f position;
Undocumented in source.
rotation
Quaternionf rotation;
Undocumented in source.
scaling
Vector3f scaling;
Undocumented in source.
transformation
Matrix4x4f transformation;
Undocumented in source.
props
DMLData props;
Undocumented in source.
visible
bool visible;
Undocumented in source.
setTransformation
void setTransformation(Vector3f pos, Quaternionf rot, Vector3f scal)
Undocumented in source. Be warned that the author may not have intended to support it.
getPosition
Vector3f getPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
getRotation
Quaternionf getRotation()
Undocumented in source. Be warned that the author may not have intended to support it.
getScaling
Vector3f getScaling()
Undocumented in source. Be warned that the author may not have intended to support it.
getAABB
AABB getAABB()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
drawModel
void drawModel(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPoint
void drawPoint()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
~this
~this()
Undocumented in source.

Meta