How to select/move easily an jit.gl.gridshape instantiated by Java or JS ?

May 25, 2012 at 11:49am

How to select/move easily an jit.gl.gridshape instantiated by Java or JS ?

Hi there,
I’m okay with jit.gl.handle as a Max object.
The autohandle property help to select gridshapes.

But if I instantiate/encapsulate a jit.gl.gridshape from JS or JAVA, how can I easily grab it with the mouse cursor, move it etc ??

This is also another way to ask how can I easily create an object like that dynamically and to have it instantiated from JS / JAVA ?

#57441
May 25, 2012 at 6:12pm

see if the following example offers some insight:

#205827
May 25, 2012 at 6:12pm

see if the following example offers some insight:

Attachments:
  1. jshandle.zip
#205832
May 25, 2012 at 7:52pm

It works fine.
combined with the other about node and anim.node, and jit.gl.anim, I achieved a small patch with an edit buttton which provides a way to move the camera only or to move the cam + move/rotate objects too.

next step: a gui (?) to also edit my own attributes/properties of each object (those related to my system like: sounds, tune, energy etc)

many thanks Robert.

#205833

You must be logged in to reply to this topic.