C#/XNA port of the Box2D physics engine.

learn more… | top users | synonyms

6
votes
2answers
834 views

How to create a very specific kind of joint in Farseer?

Edit Problem solved (see Drackir's answer). Here's a demo of what I was trying to achieve with this joint. More info about the scenario on this other question. Problem I'm trying to create a ...
2
votes
2answers
384 views

How do you change a Body's origin in Farseer?

In Farseer 3.3.1 for XNA, how do I change the origin of a Body? For example, when I create a Circle Body, instead of it rotating around its center, I want it to rotate around another specified point. ...
8
votes
3answers
2k views

How do you do AI path following within a 2d physics engine like farseer/box2d?

I'm in the process of moving a 2d top down game I've been working on into a proper rigid body physics engine like Farseer. Up until now, I had just hacked together my own physics code where needed. ...
0
votes
2answers
469 views

Box2D/Farseer Collision Detection

I am looking for literature - or a simple explanation - on how the Farseer (and for that reason, the Box2D) collision detection system works - specifically the logic that comes after the broadphase ...
8
votes
5answers
510 views

What should I do to prevent my monsters from walking off platforms?

I have a question that is driving me crazy because I think it should be fairly easy to find a tutorial on it. I'm currently using XNA and Farseer to create a simple platformer game. I'm about to be ...
1
vote
1answer
585 views

Box2d/Farseer how to use the World object?

this question is primarily about farseer but as it is a wrapper around box2d i think it's relevant for both libraries. I'm in the beginning of developing a simple platform game, and I'm stuck as to ...
4
votes
1answer
500 views

Farseer engine built for MonoTouch?

Does anyone know where I can find a version of the farseer physics engine compiled for MonoTouch, or do most people just download a windows version from codeplex and attempt to build their own ...
8
votes
3answers
767 views

Tiling Physics using Farseer

I'm having a problem with the Farseer Physics Engine, where in a tiled environment, my object will at times interact with corners of others objects, even if they align perfectly. You can try it ...
1
vote
2answers
2k views

Create a body of an irregular 2D sprite in Farseer

I'm trying to create a body of a irregular 2D sprite Farseer 3.3.1. The regular shapes that BodyFactory provides are not that I want. Is there a way that one can create irregular objects? Could it be ...
0
votes
1answer
360 views

Bouncing effect in Farseer WP7

I'm not quite sure what I need to do, but I have a ball falling from the sky and it needs to bounce when it hits an object. Do I configure the ball in some way or do I need to setup a spring object or ...
1
vote
1answer
466 views

What's the difference with how Box2D and Farseer behave in terms of collisions?

I've ported my engine to iOS and have been using the C++ version of Box2D. Everything runs fine except on collisions, it seems Box2D and Farseer handle collisions somewhat differently. Anyone know ...
5
votes
2answers
467 views

Detect Open Space in Farseer [duplicate]

Possible Duplicate: How do I detect ledges? I'm working on a 2D platformer using XNA and Farseer. I would like the player's character to be able to grab and climb up ledges. Detecting a ...
4
votes
1answer
458 views

Issues with Polygon Fixtures in Farseer

I've been working with the Farseer Physics Engine to try and build a simple 2D, sidescrolling game. Creating basic rectangle blocks worked easily enough, but I discovered when I tried to create some ...
7
votes
3answers
752 views

Inverted textures

I'm trying to draw textures aligned with this physics body whose coordinate system's origin is at the center of the screen. (XNA)Spritebatch has its default origin set to top-left corner. I got the ...
3
votes
1answer
493 views

How to restrict paddle movement using Farseer Physics engine 3.2

I am new to using Farseer Physics Engine 3.2(FPE), so please bear with my questions. Also, since FPE 3.2 is based on Box2D, I have been reading Box2D manual and pieces of code scattered in samples to ...
2
votes
2answers
891 views

Farseer - Apply Impulse

I'm new to Farseer and have a simple question. The demos I went through didn't seem to demonstrate what I want. I would like to apply an impulse (not force) to an object at a specific position on that ...
1
vote
1answer
416 views

Farseer: what are its performance on xbox360?

Are there any performance issue related with lots of "new" calls and things like that? Did anyone test it? Something to take care of? Thanks
7
votes
3answers
930 views

How to implement 2d explosions that will cause damage taking into account covers and distance?

How can I implement a 2D explosion in a way that it will cause less damage to characters that hide behind crates or other cover? Ideally damage will depend on the strength of the cover (e.g. metal ...
9
votes
3answers
359 views

Why does Farseer 2.x store temporaries as members and not on the stack? (.NET)

UPDATE: This question refers to Farseer 2.x. The newer 3.x doesn't seem to do this. I'm using Farseer Physics Engine quite extensively at the moment, and I've noticed that it seems to store a lot of ...
21
votes
6answers
2k views

Implementing a wrapping wire (like the Worms Ninja Rope) in a 2D physics engine

I've been trying out some rope-physics recently, and I've found that the "standard" solution - making a rope from a series of objects strung together with springs or joints - is unsatisfying. ...

1 2