Hi Karl.  There isn't a good region module example code for this yet, to my 
knowledge.

However, you may want to look at OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs which contains all the LSL script method implementations.

You may also want to look at test code such as the package OpenSim.Region.CoreModules.Tests since these often contain code for setting up various OpenSim structures.

As a general point, please be aware that the OpenSim internal 'API' is very inconsistent since it has grown up organically. For instance, some scene methods schedule their own updates to viewers (e.g. SceneObjectPart.UpdateRotation()) whilst others leave this up to the caller. Ultimately, I believe these show all be left to the caller so that callers can group update batches.

On 08/06/11 02:28, Karl Haas wrote:
Hi,

I'm trying to create SceneObjectGroups in an OpenSim region module and I have 
some problems using the Framework.
Does anyone know if there is a useful documentation or some example code 
available?

Some questions that I have by now:

- How can I rotate SOGs - how is Quaternion used correctly?
- How can I set the texture of a SOG or a SceneObjectPart object?
- How can I create the prims that the clients offer to create - 
PrimitiveBaseShape offers just a box, cylinder and a
sphere?
- How can I add a script to the object in order to track the position of the 
object?

Thanks for any help in advance!!

Best regards,
karl
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users



--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to