Forums

OverviewV-Play 1 SupportGravity in Space › Reply To: Gravity in Space

OverviewV-Play 1 SupportGravity in Space › Reply To: Gravity in Space
#6200

OutOfBounds

Hello Alex,

as I’m currently working on a project with AKroell, we tried the code above and changed the collider type to a circleCollider, because we want to display planets on screen.

We now have a problem with setting the bodyType to Body.Static.

If we don’t set the bodyType the circleCollider is working, but the planets are moving around in space.

We want to achieve, that the planets have a fixed position and don’t move.

For solving this problem we need to set the bodyType of the circleCollider to static, but this does not work properly.

 

Maybe these pictures help understanding our problem: http://imgur.com/a/SR59l

 

Thanks in advance

AG

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