I just started using the Farseer engine and so far it's been pretty easy to under开发者_如何学Gostand and implement in my aps. I was wondering if there was a way to put a control into a different "world" so that I can manipulate the gravity of just that object but allow other objects to stay at the default world gravity. Does anyone know how to accomplish this or know of any resources that might help me?
Thanks, Tom
The idea to change gravity for specific objects is a bit unusual, as gravity normally is a global constant in a physics simulation (unless you are using space stuff). I don't know Farseer engine but I assume gravity works the same as in other physics engines.
Usually in physics to manipulate just one object's 'gravity' you simply lower it's weight/mass (and air friction?). Or even give it a slight upward force (a negative to gravity).
精彩评论