farseer

Farseer Physics Tutorials, Help files

Is there a tutotial or help file, suitable for a beginner c# programmer to use. ...

How can I manipulate a RagDoll made with farseer physics in Silverlight?

I made a ragdoll similar to the one in this demo. This rag doll will be used for a turn based rpg game where the physics will be used for animations such as character taking damage, dying, falling down, etc. What I am pondering at the moment is as how should go about this, should I stick the rag doll by the head to the background (leavi...

Silverlight Usercontrol Onload Event when generated in another Usercontrol, to apply farseer physics

Didn't know how to phrase the question better but basically I have a usercontrol that I dynamically add into another usercontrol. The child usercontrol has a set of images and basically I need to know if they have fully loaded inside the parent usercontrol since I need their dimentions for a method (not just height and width). Is there ...

Turn off collision on inside edges of objects on Farseer

I've created a small game in Silverlight. It has a bunch of objects that are shot out of a cannon. Every once in a while it appears that the colliding object misses the outside of the object. It then continues on and hits the inside of the colliding object. At this point the object on the inside of the object bounces around on origin...

Farseer Physics XNA Geom 'Tripping'

Hello, I have an issue similar to http://farseerphysics.codeplex.com/Thread/View.aspx?ThreadId=72364 I have a rectangle player geom, and many rectangle tile geoms lined up next to each other. Occasionally when the player geom is crossing between them he seems to clip onto the corners of the tile geom and as a result rotate over. Even ...

How to drag a Farseer body with the mouse, without springiness ?

Hello everyone. I am using Farseer and XNA. I'm trying to drag an body with the mouse, but I don't want a spring behavior, like in the demos.I want the object to follow the mouse very closely and without springiness, but still be able to rotate. I tried using another invisible body attached with a RevoluteJoint and moving that, but that...

How to resize a Farseer body, along with it's joints and connected bodies ?

I'm using FarSeer and XNA. Is there an easy way to resize or scale a FarSeer body ? Thanks. ...

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 however built for XNA, and seems to fit it and perform pretty fine. Farseer's advantage in my ...

How to parse image for border vertices? Complex object geometry (farseer physics)

How could I create body vertices by scanning image and detecting it's shape (of it's non-transparent pixels)? I wanna create complex geometry, and I actually have no real idea where to start, so any advice would be highly appreciated. Accepted answer would most likely be the one that explains the topmost idea. Thanks in advance ...

Farseer settings for a billiard game ?

I am trying to use Farseer to develop a biliiard game. In you download Farseer source code and samples, there is test called "Demo 5: Collision categories". I modified this sample and keeped only 1 category of balls, the red balls. In the circle creation method I modified as shown below _circleBody[0] = BodyFactory.Instance.C...

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 sense that it doesn't have to be a rocket - it could be a plane or a boat on the water or...

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 present looks like this. public bool Collision(Fixture fixtureA, Fixture fixtureB, Manifold...

Farseer setup in Visual studio to work with C# and XNA

I have downloaded the folder containing the Farseer Physics engine. and I have a game that I am working on using C# and XNA. The issue Im having is that I dont know how to add the files for Farseer to my project so i can reference the functions in the code. How Do I do this? ...

How to make a physics character moving without rotating

Hello guys, currently I'm developing a simple game which uses physics engine (Farseer for XNA). I would like to ask how can I make the character so that he can walking on the ground, jumping on platform without rotating itself. Because I need to update the body position and rotation, because it is a physics object so it will response l...

Plotting points for a projectile before a force is applied.

For example in Peggle or Apple Jack, the user can move around a curve showing where the ball (or the washing machine / panda or whatever) is about to go before the user has requested that the projectile is launched. I know i need to use an equation to plot the points but I'm no mathematician (anymore :(). Can anybody be so kind as to p...