logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    How to make tracer tool?

    Scheduled Pinned Locked Moved
    Help and Support
    2
    2
    120
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ANGRYBIRDSFILMSALTA
      ANGRYBIRDSFILMSALT
      last edited by

      I’m just asking how to make an accurate tracer tool, it draws a line wherever the object goes, then fades after a few seconds.

      RobinsonXR 1 Reply Last reply Reply Quote 1
      • RobinsonXR
        RobinsonX @ANGRYBIRDSFILMSALT
        last edited by RobinsonX

        @ANGRYBIRDSFILMSALT This can either be simple or complex depending on the path of your object.

        Assuming it is a straight path, you can use an Empty Object for it. Make the anchor of the object to be 50, 0 so the bottom center of the object will be used in transformations.

        1. Calculate the distance from point A to point B.
        2. Calculate the direction from point A to point B.
        3. Now move the empty object to point A.
        4. Rotate the object to the direction given in step 2.
        5. Now rescale the object so that the y matches the distance given in step 1. You can change x to any width you like - this will be the stroke length.
        6. Now you should have a line connecting from point A to point B.

        You can use this every time an object is moving to a point. However, do note that distance is affected by the zoom; it'll be normal at 100% zoom but it will double when zoom is 50%.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post