Throwing AXE arc

0 favourites
  • 2 posts
From the Asset Store
Throw daggers and hit the most fruit! Watch out for the wind, if you run out of daggers you'll lose the game!
  • Hey guys, How would you approach thr math in making an arc for a projectile? I am trying to make a spinning arcing throwing axe. Thanks Computer friends! :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you're fine with the projectile stopping when hitting solids you could give the object the platform behavior, disable controls and set acceleration and deceleration to 0. Then you can throw it by setting the vectorx and vectory with events.

    In that case there is a little bit of math but not to much:

    If you know the speed and angle you want to launch the axe do this:

    vectorx = speed*cos(angle)

    vectory = speed*sin(angle)

    Or you could use the bullet behavior and set the gravity property.

    There are capx' around the forum. A search for "projectile" will yield a lot of useful topics.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)