How to grab some objects' variables values from JS ??

May 28, 2012 at 3:45pm

How to grab some objects' variables values from JS ??

I have my pretty nice JS calling/placing abstractions previously made in my Patcher.
It works fine.

BUT, I’d need to grab some specific values inside these abstraction from my JS.

Basically, those abstractions draw things in my OpenGL context and I’d need to grab the position of my OB3D objects from my JS.
Should I create the objects with a script name x, y & z for each abstraction and to update those values when they change directly in the abstraction ??

anyone would help here ??

#56829
May 28, 2012 at 4:53pm

The question asked better :

How to expose all values from an abstraction easily to a central JS Code without to have to wire all etc ??

#203690
May 28, 2012 at 4:53pm

The question asked better :

How to expose all values from an abstraction easily to a central JS Code without to have to wire all etc ??

#203734

You must be logged in to reply to this topic.