Tagged Questions
-1
votes
2answers
158 views
Move a player in the opposite direction they are looking
I'm looking to move the player in the opposite direction they are facing with a specified force. Rather than try to explain that better I created an image showing what I mean,
I've tried reversing ...
4
votes
2answers
170 views
Game physics presentation by Richard Lord, some questions
I been implementing (in XNA) the examples in this physics presentation by Richard Lord where he discusses various integration techniques. Bearing in mind that I am a newcomer to game physics (and ...
2
votes
1answer
92 views
Farseer: Shooting a ball in a certain angle?
How can I shoot a ball in a certain angle? When I press the Space key, the ball should be shot in a 45 degree angle. How can I do that?
0
votes
0answers
73 views
Farseer: Difficulties with implementation of DebugView
I added the project "Farseer Physics Engine 3.3.1 HelloWorld XNA\DebugView XNA\DebugView XNA.csproj" to my solution explorer in Visual Studio. In addition, I added a reference to my project and the ...
0
votes
1answer
37 views
Farseer: RemoveBody is not working [closed]
I want to remove bodies after they touched the character(playerrect). But the bodies get not removed. I set a breakpoint in the following line but it doesn't get yellow:
...
1
vote
1answer
62 views
Farseer: How can I remove a body?
I have many sensors(coins) in each level and I want to remove the sensors(coins) when the player rectangle(Mario) touches them. I check in OnCollision if Mario touches a coin, if he touches it, it ...
-1
votes
1answer
274 views
“Car” movement in 2D dimension [closed]
I am searching for a simple tutorial how to add arcade car physics for my game.
Exactly same user units behaviour i found in next games:
Tank Hero: Laser Wars
Death Worm:
Video:
...
0
votes
1answer
35 views
Farseer: Difficulties with ContactListener
How can I register the ContactListener in XNA? In the box2d manual is written:
9.4 Contact Listener
...
At run-time you can create an instance of the listener and register it with ...
3
votes
1answer
152 views
How do I make a tile passable in one direction only?
I want that my character can jump through some of the tiles, like Mario does in this video:
http://www.youtube.com/watch?v=zIPYzbNrNhc
In this video, Mario jumps up through orange platforms, but ...
-2
votes
1answer
69 views
Farseer: are you missing a using directive or an assembly reference?
I want to create a polygon in Farseer. I found an example in the documentation but it's not working because I get this error message:
The type or namespace name 'Vertices' could not be found (are you ...
0
votes
1answer
67 views
Farseer: Ball is not getting slower
The ball is not getting slower when it rolls over a straight platform. I added friction but that changed nothing, the ball still gets not slower. I want that the ball gets slower and slower and stops ...
0
votes
1answer
109 views
Farseer: Ball is not bouncing realistically
I created a ball that is rolling over platforms. When it falls from one platform to another, it should bounce just like in real life, but the ball keeps bouncing constantly and I don't know how to ...
0
votes
0answers
29 views
Farseer physics engine: The name 'ConvertUnits' does not exist in the current context [duplicate]
http://digitalerr0r.wordpress.com/2012/03/11/farseer-physics-in-xna-4-0-for-windows-phone-1/
I tried this Farseer tutorial but I always get that error message in the following lines:
...
-4
votes
1answer
95 views
How to use a physics engine for collision detection? [closed]
I want to use Box2D.XNA or Farseer for collision detection in my 2D game, but I don't know how to start. I added Box2D.XNA to my solution, but I don't know how to create rectangles, circles or ...
-1
votes
1answer
168 views
Creating physics in xna
I am creating a racing game using visual studio 2010 and xna 4.0. I'm trying to create some simple physics so my car sticks to the heightmap I have created within my game world and the model adjusts ...