Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-375

LSL Functions for reading avatar animation positions.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Unset
    • Resolution: Unresolved
    • None
    • None

    Description

      For discussion.

      Two new LSL functions for reading animation state of the avatar.  

      vector llGetAttachmentPointPos(key agent_id, integer attach_point);

      This function retrieves the position of the attachment point specified by attach_point relative to the avatar's position in world.  

      rotation llGetAttachmentPointRot(key agent_id, integer attach_point);

      This function retrieves the rotation of the attachment point specified by attach_point relative to the avatar's rotation in the world.

       

      The following is true for both of these functions:

      • These functions both cause the script to sleep for 0.1 second.
      • These functions share a throttle with a rate of 10 calls every 5 seconds.
      • These functions only work on body related attachment points.  HUD attachment points and unknown attachment numbers return ZERO_VECTOR or ZERO _ROTATION.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rider.linden Rider Linden
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: