Linden Scripting Language Tutorial: Prim Manipulation

A prim's shape, size, orientation, position, texture, color, can all be changed by a script.

To change a prim, use llSetPrimitiveParams(). The llSetPrimitiveParams() takes a list of arguments, of the form [p1,p1values,p1values..., p2,p2values,p2values, ...], were the p are prim property names followed by its values to be set.

Primitive properties include: size, shape (twist, taper...), color and texture, orientation and position, physical attributes (full bright, phantom...) ...

These can also be done with more specific functions. e.g.: llSetScale(), llSetColor(), llSetPos(), llSetRot()...


Page created: 2007-03.
© 2007 by Xah Lee.
Xah Signet