jit.phys.body for jit.gl.model

Nov 5, 2011 at 6:44pm

jit.phys.body for jit.gl.model

is is possible to generate a jit.phys.body for jit.gl.model to create collision detection for imported models? to me it looks, that currently only jit.gl.gridshapes are supported. is there any way to create physics/collision for more complex objects?

Nov 6, 2011 at 5:11am

yes this is possible, however a bug slipped in to the current version of gl.model matrixoutput, so you will have to wait for the forthcoming 6.0.1 update to try out this feature.
once that update is out, you can look at the jit.phys.body help file to see how to send a gl.model shape to a phys.body.

thanks for your patience.

Nov 6, 2011 at 8:32am

hello robert!
is there an estimated timeframe on when 6.0.1 will be released?

Nov 10, 2011 at 4:43pm

ok after trying the phys.body in the 6.0.1 bugfix release, it seems the body is not the actual model data, but limited to basic objects still… is this true or am i doing something wrong?

Nov 10, 2011 at 5:21pm

what are you trying?
- open the phys.body help file and enable qmetro in the “basic” tab
- select the “matrix” tab, and click the message box labeled 1
- send a matrix to the phys.body by clicking the bang button connected to the gl.model object

you should see an apple shape bouncing around in the scene.

let me know if that’s not the case or if you have specific questions.


You must be logged in to reply to this topic.