Example #1
0
 def __init__(self):
     """
     If you call this, make sure to call create, before using the object
     """
     self._force = Ogre.Vector3(0,0,0)
     self._omega = Ogre.Vector3(0,0,0)
     self._torque = Ogre.Vector3(0,0,0)
     self._gravity = defaults.gravity
     self._local_force = []
     self._global_force = []
     self._buoyancy_plane = None
     self._body = None
     self._material = None
     self._old_velocity = Ogre.Vector3.ZERO
     self._previous_omega = Ogre.Vector3.ZERO
 
     Object.__init__(self)
Example #2
0
 def __init__(self):
     self._node = None
     Object.__init__(self)
Example #3
0
 def __init__(self):
     self._node = None
     Object.__init__(self)