Construct 3 r144

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Could you use lerp to get 30% of path position?

    • I need the x and the y position from the bezier-path with more then 2 nodes.

      Example (First i place/add nodes at runtime for my instance/object):

      Node 1 = x 10 , y 10

      Node 2 = x 50 , y 20

      Node 3 = x 124 , y 48

      etc..

      .. and then I want to get the X Position on the path from percent:

      Set Object.X to getPathPositionX(0.3); // x position 30% of the complete path

      ... That is not possible without great effort. GM Studio has exactly this powerful function:

      manual.gamemaker.io/monthly/en