dagon v0.12.0-beta2 (2021-10-10T20:59:18Z)
Home
Dub
Repo
NewtonBodyComponent
dagon
ext
newton
rigidbody
Undocumented in source.
class
NewtonBodyComponent :
EntityComponent
{
NewtonRigidBody
rigidBody
;
Matrix4x4f
prevTransformation
;
this
(EventManager em, Entity e, NewtonRigidBody b);
void
update
(Time t);
}
Constructors
this
this
(EventManager em, Entity e, NewtonRigidBody b)
Undocumented in source.
Members
Functions
update
void
update
(Time t)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
prevTransformation
Matrix4x4f
prevTransformation
;
Undocumented in source.
rigidBody
NewtonRigidBody
rigidBody
;
Undocumented in source.
Inherited Members
From EntityComponent
entity
Entity
entity
;
Undocumented in source.
update
void
update
(Time t)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void
render
(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
dagon
ext
newton
rigidbody
classes
NewtonBodyComponent
NewtonRigidBody
functions
makeDynamicBody
makeStaticBody
newtonBodyForceCallback