[TS6.6] SDK - notify event question

Smart people ~ Great Scripts
User avatar
DesignDevil
Master Chief Petty Officer
Posts: 500
Joined: 22 May 2009, 08:52
Type the number ten into the box: 0
Location: Neuruppin, Germany, Earth.

[TS6.6] SDK - notify event question

Post by DesignDevil »

My new widgets plugin is able to control the movement, rotation and scaling of a object - so far so good. I tried to use the "MOVE" tool to move a object around and it works very well, except if i try to move a joint from MotionStudio!

I believe that MoStu's joints himself are controlled by a "tsxRegisterNotifyCallback" event which comes from the representing joint object (in default a sphere). I believe that, if i move the joint object thrue my widget, no event will be created and send to MoStu. Why i believing this? Well, if i move the joint the object himself will follow (the sphere which represents the joint) but the bones and the cross symbol stay's in position.

In other words i think that, if you move a object to a new position thrue a plugin, that trueSpace doesn't create a NotifyCallback for this object.

Has anybody a idea how i could simulate such a event "by hand" so that MoStu get's a message like "hey, your joint has moved"? Or knows anybody a workaround for such a situation? In other words - how can i refresh not just the drawing of a scene - also the "actions" of a scene so that any plugin now's these "NEWS".

a bit difficult to explain, but i hope anyone can help
I still use TrueSpace 6.6
Link: My Youtube Channel
Link: www.DesignDevil.de - Plugins, Tutorials and more about TrueSpace 6.6

Return to “Scripts and SDK”