rotate a group of jit.gl.phys objects

Nov 15, 2012 at 1:14pm

rotate a group of jit.gl.phys objects

Hello phys pros,

I am trying to rotate a group of jit.gl.phys objects.
Patch attached.

First i tryed to build a jit.gl.node, but
i cant bind the jit.gl.phys objects to the jit.gl.node.
I get this error at the max window:”jit.gl.node: attached object is not an ob3d”

Is there a possibility to group jit.phys.body objects ?

Or can the jit.phys.body follow the jit.gl.node objects ?

Thanks for any pointer,
kugelschreiber

– Pasted Max Patch, click to expand. –
#65231
Nov 19, 2012 at 5:16pm

hello.
you can only add gl objects to jit.gl.node.
you want to use jit.anim.node for this behavior. you also want to enable @kinematic on your phys.bodies if you are going to manually update their position/rotate attributes.

here’s a modified version of your patch:

– Pasted Max Patch, click to expand. –
#235088

You must be logged in to reply to this topic.