Construct 3 suggestions & ideas

Suggest and vote on ideas for Construct 3! Please note this is only one aspect of planning. We do not guarantee any features here will be implemented, even if they are top-voted ideas. The aim is just to collect feedback. Remember to search for existing submissions before adding an idea, describe your ideas as comprehensively as possible, and vote for plausible ideas that are well thought out. Please see our full guidelines on suggesting features.

0 VOTE

atan2 system expression

We have atan, can we also get atan2? It´s pretty useful for getting the movement angle based on velocity.

This should also be added to behaviors that use velocities, e.g. right now there is no expression to get the movement angle of a physics object.

angleInDegree = Math.atan2(obj.velocity.y,obj.velocity.x)*180/Math.PI;

Thanks!

  • Wacky Toaster
  • Oct 12 2018
  • Already exists
  • Oct 12, 2018

    Admin Response

    The existing angle() expression calls atan2.

  • Attach files