GameMaker (2.3)

Trajectory Calculator

K. Blank Games

You must be logged in to obtain assets


Introducing the box2d trajectory calculator!

This is a calculation script, made entirely for GameMaker's built-in physics engine, Box2D.

With this you could predict how a projectile will fly before it starts flying, like in that bird game.

What can it do?

  • It can predict the parabola path of any physics bodies.

  • It can predict the max height & distance the projectile will reach.

  • It supports collision detection during the calculation.

  • It supports the "linear damping" property and is aware of the speed limitations of box2d physics.

  • It supports the world x/y gravity & pixel-to-metres properties of box2d physics.

  • Each script comes with detailed commentaries on how to use

. .

With all those information gathered, you can use them in various ways to your advantage:

  • Render a predicted parabola for your tanks and weapons

  • Instantly know where a projectile will land, without actually firing it and waiting for it to land

  • Get a predicted coordinate of the point of impact with any physical objects, with the script's collision detection ability

  • And much more, with your own creativity...

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2.3 - Version 0.0.1. Published January 11, 2022

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait