Questions tagged [farseer]

C#/XNA port of the Box2D physics engine.

The Farseer physics engine is a port of the Box2D physics engine with additional methods to ease the creation, manipulation, and destruction of physics bodies.

The project is hosted on codeplex and all Box2D documentation such as the Box2D Manual is applicable.

153 questions
11
votes
4 answers

Farseer Physics Tutorials, Help files

Is there a tutotial or help file, suitable for a beginner c# programmer to use.
Peter Marshall
  • 1,231
  • 1
  • 13
  • 22
8
votes
0 answers

Farseer Physics weird collisions

I'm starting a game, and I'm using Farseer as the physics engine. I have setup a few boxes acting as terrain tiles, and a box as the player. The collisions between these two are very weird, they intersect and slide when it's not a "direct"…
Felipe
  • 336
  • 8
  • 19
7
votes
1 answer

Body not rotating to face downward with gravity

I have a rectangle body that is being fired from a canon at a 45degree Angle. The body is also rotated up at a 45 degree angle and I have set the mass to be at the front of the body. The body goes up in the air fine, however, as the body comes back…
Jastill
  • 656
  • 3
  • 15
6
votes
1 answer

Change Farseer Physics Engine settings to improve performances

I have sucessfully used Farseer to develop one of my game using XNA. The game runs like a charm in Windows and WP7. I'm currently working on porting my game in IOS using Monotouch and Monogame. I've sucessfully compiled and used Farseer also over…
Francesco
  • 4,794
  • 1
  • 19
  • 27
6
votes
3 answers

OnCollision event handler problems in C# XNA with Farseer Physics

I have this working ok(ish) in my game at the moment, but i'm not fantastic at maths. When two primatives collide, I want them to smash up into tiny bits if the force applied to a primative was over a set threshold. My collision event handler at…
DrLazer
  • 2,805
  • 3
  • 41
  • 52
6
votes
3 answers

Simple 2D rocket dynamics

I am currently experimenting with some physics toys in XNA using the Farseer Physics library, however my question isn't specific to XNA or Farseer - but to any 2D physics library. I would like to add "rocket"-like movement (I say rocket-like in the…
Jeremy Bell
  • 5,253
  • 5
  • 41
  • 63
6
votes
3 answers

Farseer or Box2D? Top-down shooter physics implementation

Which one of these would fit a top down shooter better? I've heard that Box2D performs faster, but I've also noticed that it lacks wider community support for XNA (it rather seems to be used for flash - for a reason unknown to me). Farseer is…
Johnny
  • 889
  • 2
  • 13
  • 24
6
votes
1 answer

What is the best method in XNA to have the player paint smoothly on the screen?

I'm developing a wp7 game where the player draws lines in the program and a ball bounces off of them. I'm using XNA and farseer physics. What is the best method for a user to draw a line, and then for the program to take it and turn it in to a…
Ian Wilson
  • 63
  • 4
5
votes
3 answers

How do I efficiently simulate a grid of static rectangles in a physics engine?

I'm making a space shooter which takes place in a big dungeon, which consists of large rectangles to define walls. Everything in the game is physically simulated using Farseer Physics. There's one problem though: I want the dungeon to look…
Dlaor
  • 2,900
  • 3
  • 17
  • 14
4
votes
1 answer

Create a body of a irregular 2D sprite in Farseer

Im trying to create a body of a irregular 2D sprite Farseer 3.3.1. Could it be done with using BodyFactory.CreateCompoundPolygon method?
Yousuf Tafhim
  • 361
  • 1
  • 2
  • 13
4
votes
1 answer

Concept checker: Collision situations in Farseer

I have been using Farseer for quite a while now, working on a physics teaching platform project. There are a couple of questions about the engine in my brain that are left unanswered for quite some time, many of which are about collision handling of…
Felastine
  • 793
  • 2
  • 8
  • 18
3
votes
1 answer

How can I use Farseer with a MonoTouch/ExEn application?

I'm trying to build a game for iOS with XNA and Farseer Physics 3.3, using ExEn and MonoTouch. In theory this should work fine, but I'm having trouble getting Farseer to work on the iPhone. I compiled Farseer for MonoTouch/ExEn, and it works great…
Michael
  • 1,968
  • 4
  • 24
  • 40
3
votes
4 answers

Farseer physics Engine 3.1 with Mango

When I try to reference the project of farseer with a WP7 game targeted to mango, it gives an error about these projects being different in "refresh levels" The integration with a NoDo Game works fine. How should I solve this? I don't want end up…
smohamed
  • 3,234
  • 4
  • 32
  • 57
3
votes
1 answer

Farseer physics (Box2D) - Fixture rotation around point

I'm having a bit of trouble with rotating a Fixture in the Farseer Physics Engine (using XNA). Basically, i have a fixture, set up as such: private void setUpPhysics(World gWorld, Vector2 position) { body = new Body(gWorld); …
mg33
  • 229
  • 1
  • 3
  • 10
3
votes
1 answer

Farseer physics...hello world...?

I have no idea why but I cant seem to find out why this isn't working... I'm trying to make something really simple, like something that just falls off the screen. It seems like with the latest download and the first example code on the site, I'm…
Mark Lalor
  • 7,820
  • 18
  • 67
  • 106
1
2 3
10 11