PDA

View Full Version : Setting position for multiple nulls/meshes from motion script?



Sculley
03-26-2011, 08:44 AM
Is it possibel to update position of a nubmer of nulls from with in a motion script applied to an object?

Is there anyway to approach doing this?

Many thanx

Stephen

evenflcw
03-26-2011, 12:11 PM
There is. But a single motion modifier script applied to a single item can't modify the motion of any other item than the one it's applied to. Look at PLG IK. It uses a main plugin and helpers for all the "children". That, imo, is the correct way to do it if you want to respect and play nice with the design of LWs plugin architecture. Use comring, IPC, globalstore/globalrecall or files for communication between the scripts.

To make it more user-friendly you could perhaps have the main motion modifier apply and remove all the helpers.

Sculley
03-30-2011, 05:14 AM
Many thanx,

Just needed to check. Do you know any good resources about the ComRing? What I have doesnt have any information on it other than its references... but no explanations or using it.

Many thanx

Firestar3D
03-30-2011, 04:38 PM
Sorry, wrong thread.

evenflcw
03-30-2011, 05:20 PM
You can read about it in Mike Greens online reference docs, http://www.mikegreen.name/Lscript/Lscript%20Index.html, or download the SDK and look in the lscript release notes that are packaged with it, see notes for v2.7. That's about as much as has been written about it.