Forums

OverviewV-Play 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
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support