Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Box2D with no gravity

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4270

    Philipp

    Is it possible to have a Box2D object in the game that is not affected by gravity? Setting the sensor property to true as suggested in a different post works well to not affect the object when colliding, but it does not have any affect on gravity!

    #4271

    Christian
    Felgo Team

    By making your object a static body type, it is not affected by gravity.

    Cheers, Chris

    #4272

    Philipp

    Thanks for your quick response! That was exactly what we were looking for.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded