Forums > Javascript

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

May 28, 2012 | 3:45 pm

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 ??


May 28, 2012 | 4:53 pm

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 ??


May 28, 2012 | 4:53 pm

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 ??


Viewing 3 posts - 1 through 3 (of 3 total)