phybox.cpp
26 PhyBox::PhyBox( real side_x, real side_y, real side_z, World* w, QString name, const wMatrix& tm )
45 wMatrix initialTransformationMatrix = wMatrix::identity(); // The transformation matrix is set in other places
58 NewtonBodySetForceAndTorqueCallback( priv->body, (PhyObjectPrivate::applyForceAndTorqueHandler) );
PhyBox(real side_x, real side_y, real side_z, World *world, QString name="unamed", const wMatrix &tm=wMatrix::identity())
Create a physics Box object and insert it in the world passed.
Definition: phybox.cpp:26
float real
virtual void changedMatrix()
syncronize this object with underlying physic object
Definition: phyobject.cpp:145