Questions tagged [farseer-physics-engine]
C#/XNA port of the Box2D physics engine.
108 questions
2 votes
1 answer
94 views
Turn a spaceship at a max rate
Using the following to turn a spaceship in a C# FarseerPhysics simulation. var turnPower = _Inventory.EngineTurnPower * time; body.ApplyTorque(turnPower); If ...
0 votes
0 answers
252 views
Why does the order of Farseer collision categories affect collisions?
I've discovered a bizarre issue with the Farseer Physics Engine that I can't figure out. I have two Farseer bodies that I'd like to only collide with each other. To that end, I have the following code....
1 vote
0 answers
159 views
Farseer Engine Texture To Polygon Center of mass bug
I am new to Farseer Engine used with MonoGame so I decided to do some test with the API to see the results and learn. If I understand, in Farseer the Position property of a Body object is located at ...
0 votes
0 answers
84 views
Position is not what it should be when attaching fixture
In XNA / Farseer I have something like this: ...
2 votes
4 answers
948 views
Check if body is on the ground
In my game I have an quite irregular terrain at the bottom and a round ball which can be controlled by the keyboard. Is there any way to check, if the ball is currently on the terrain? This is very ...
0 votes
0 answers
122 views
Which Box2D-like physics engine parameters need pixel conversion?
The official guide does not have any useful details on the matter: http://www.box2d.org/manual.html Position is an obvious one. What about velocity? Density? Anything else? Update: the context is ...
1 vote
0 answers
219 views
Farseer physics engine: save world simulation and load at a later time
I have created a windows desktop game using monogame and the Velcro (formermy Farseer) Physics engine (Velcro Physics). In this game I would like to the user to be able to save the game and continue ...
0 votes
1 answer
212 views
How can I create a character design that maintains a fixed rotation body, while allowing the body's "arm" to rotate 180 degrees?
I am attempting to create a 2d shooter in Farseer Physics on the Xbox360. I have a player body which has a fixed rotation, as I do not want the body to rotate at all during gameplay. I am now looking ...