Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    How does Map XY to XYZ pos on object work

    Help
    2
    3
    281
    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.
    • Tyller_
      Tyller_ Best Forum Helpers last edited by

      I’ve been testing it out and when ever I use it, if the object doesn’t exist it crashes, if it does it returns nothing in the input regardless what the x y inputs are or where the object is relative to the camera.

      <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
      </div>

      Tyller_ 1 Reply Last reply Reply Quote 0
      • Tyller_
        Tyller_ Best Forum Helpers @Tyller_ last edited by

        @tyller_ never mind I have figured out how it works, for anybody wondering, that x y on your screen must be over the object, otherwise it will return nothing

        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
        </div>

        info-creaticode 1 Reply Last reply Reply Quote 0
        • info-creaticode
          CreatiCode @Tyller_ last edited by

          @tyller_

          You are right, it will return “” when no 3D object is under the 2D point you specified. For a reference project, please check out this:

          https://play.creaticode.com/projects/65412f495e00b4f660050acb

          CreatiCode

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