Move object forward forever toward its angle ?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • so i know how to do this using "launch an object" but there are only 32 limited directions... and i want to use an angle instead.. i know how to set the angle and other.. i just dont know how to make it move forward at its current angle

  • You can make a simple "custom" projectile movement,
    in the very moment you create your projectile,
    set its angle (or a "my_angle" value of the object) towards the direction you want it to move,
    and set its alt.valueX and alt.valueY respectively to X,Y position he currently have (since you are creating it at shooting position),
    then code something like this:

    always
    >> add (speed) * cos(angle) to alt. value X
    >> sub (speed) * sin(angle) to alt. value Y
    >> set X position to alt. value X
    >> set Y position to alt. value Y

    a selection of my Fusion examples can be found Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!