With the following call
PhysicsCamera(euclid.Vector3(-10, 10, -10), yaw=30, pitch=-30)
I am recieving a TypeError: unbound method of __init__() must be called with LookObject as first instance.
And this is the physics camera part
class PhysicsCamera(LookObject):
def __init__(self, *args, **kwargs):
LookObject.__init__(self, *args, **kwargs)
self.camera_id = PhysicsWorld.add_camera(self)
print "Camera ID:", self.camera_id
This is a new class that I am creating for my OpenGLES package.
Can someone please explain why this could be happening as this is exactly the same as how I normally subclass an object