Tuesday, April 17, 2012

New SpotON3D Scripting Functions Will Help Builders

Fresh from the techno-geek files...
Here's a bit of exciting news for all you builders out there! SpotON3D has just rolled out two new scripting functions that allow you to move individual child prims within a link set in a much more intuitive way.

The functions are called osGetChildPos() and osSetChildPos(). These new functions are unique to SpotON3D, and therefore cannot be used on other platforms, including Second Life or other Opensim-based worlds such as InWorldz.

Unlike other child positioning functions, which are based on the rotation of the root prim, these functions work based on the child prim's rotation, allowing you to move prims along their own local x,-, y- and z-axes. The functions can also be called from the root prim, in which case they allow the root to be moved along its own local axes rather than the region axes.

Any scripts making use of these functions can only move the prim that they are in. That is, a script in one prim cannot uses the functions to move a different prim. This may be addressed as a future enhancement.

If you are interested in the details of how these functions work, you can read about them on our Wiki at:

To follow all of our blog postings, please be sure to subscribe by clicking the "Join this site" button, or by submitting an email address in the "Follow by Email" box along the right margin. And if you see something that particularly interests you, be sure to share it on your Facebook, Twitter, or other social media pages using the icons provided.

You can sign up for an account with SpotON3D by going to https://spoton3d.com/register/, or through your Facebook page at https://apps.facebook.com/webworlds/.

Also check out our SO3D Like Bytes page on Facebook, at http://www.facebook.com/TessasLIKEBytes

No comments:

Post a Comment