Forums > Jitter

rotate a group of jit.gl.phys objects

November 15, 2012 | 1:14 pm

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. –

November 19, 2012 | 5:16 pm

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. –

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