Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6916583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:37:18+00:00 2026-05-27T09:37:18+00:00

I am using Farseer Physics Engine to build a Monster Dash like game targeted

  • 0

I am using Farseer Physics Engine to build a “Monster Dash” like game targeted for the PC using C# and XNA,
I am trying to move a body with it’s texture, the texture is built from parts so they all should move together, basically it looks like this:

    public void Update()
    {
        tilingFloorPosition.X += (floorMoveSpeed / MeterInPixels);
        _tilingFloorBody.Position = tilingFloorPosition;

        // Update the textures position
        for (int i = 0; i < texturePositions.Length; i++)
        {
            texturePositions[i].X += floorMoveSpeed;
        }
    }

But whenever my player lands on top of the floor he just goes through it like there is nothing there, what am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:37:20+00:00Added an answer on May 27, 2026 at 9:37 am

    If the player is falling through the floor then I can only assume that either the floor’s body isn’t actually in position, or the two bodies are not colliding. Can you confirm that the floor is indeed positioned correctly? If you’re able, turn on the Farseer Debug View. If so, then the collision must not be occurring.

    Check:

    • That both the player and the floor are not sensors.
    • That they are not within the same CollisionCategory and at least one of them is included within the others CollidesWithCategory.
    • That you have not added one of the bodies to the others IgnoreBody list.
    • That the body types will collide. See: Farseeer Body Types.

    Also, it may be worth noting that it is possible that manually setting the position could skip the collision. Try instead setting the LinearVelocity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a game for iOS with XNA and Farseer Physics 3.3,
I have sucessfully used Farseer to develop one of my game using XNA .
I was trying to get farseer physics engine to work. Everything compiles fine except
I have downloaded the folder containing the Farseer Physics engine. and I have a
I'm using FarSeer and XNA. Is there an easy way to resize or scale
I Am working on a 2D game in XNA that needs some physics. I
I just started using the Farseer engine and so far it's been pretty easy
I'm using Farseer in XNA and using the function named ApplyLinearImpulse() to get an
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.