Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › Projectile dynamics


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #9817


    Hi. I have a projectile in my game. The mass and initial impulse of my projectile are to be varied. I want to make sure the projectile does not leave the top of the screen (by using the suvat equations). If my game window is 320 x 480 pixels, what is the conversion to metres? Is it uniform across devices or does it depend on DPI? Also, are the units of gravity (set in PhysicsWorld) metres / second? Thanks, Phil


    Felgo Team

    Hi Phil,

    we are using Box2D for our physics, so everything regarding units can be taken from its documentation and forums. The calculations only depend on the logical size of scene (most likely 320 x 480 pixels in your case) so DPI do not matter here.


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

RSS feed for this thread

You must be logged in to reply to this topic.