cpBody


Vocabulary
chipmunk.ffi

Definition


STRUCT: cpBody
{ velocity_func cpBodyVelocityFunc }
{ position_func cpBodyPositionFunc }
{ m cpFloat initial: 0.0 } { m_inv cpFloat initial: 0.0 }
{ i cpFloat initial: 0.0 } { i_inv cpFloat initial: 0.0 }
{ p cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ v cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ f cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ a cpFloat initial: 0.0 } { w cpFloat initial: 0.0 }
{ t cpFloat initial: 0.0 }
{ rot cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ data cpDataPointer } { v_limit cpFloat initial: 0.0 }
{ w_limit cpFloat initial: 0.0 }
{ v_bias cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ w_bias cpFloat initial: 0.0 } ;


Methods