juliusctw
29-04-2007 07:42:58
Hello
after reading several of the tutorial i made a small list of questions I couldn't find answers to even in the API or search.
1). I'm not sure exactly what the purpose of this is for
setPositionOrientation( pos, camorient );
when you attach to Node, doesn't the body just automatically hold the same position as the Node? or is it setting the relative position to the parent Node? As for the orientation, are you tryin to match the orientation of the body to the orientation of the entity?
2) How is the world size originally defined ? I know that you can set the size , but what is the default size ? I noticed that in the tutorial certain areas the physics would stop working, is that when the objects have gone outsize the world size?
3) does freeze have the same effect as not updating the world? but on a single object in the world?
after reading several of the tutorial i made a small list of questions I couldn't find answers to even in the API or search.
1). I'm not sure exactly what the purpose of this is for
setPositionOrientation( pos, camorient );
when you attach to Node, doesn't the body just automatically hold the same position as the Node? or is it setting the relative position to the parent Node? As for the orientation, are you tryin to match the orientation of the body to the orientation of the entity?
2) How is the world size originally defined ? I know that you can set the size , but what is the default size ? I noticed that in the tutorial certain areas the physics would stop working, is that when the objects have gone outsize the world size?
3) does freeze have the same effect as not updating the world? but on a single object in the world?