Forums > Jitter

jit.phys.body for jit.gl.model

November 5, 2011 | 6:44 pm

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?


November 6, 2011 | 5:11 am

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.


November 6, 2011 | 8:32 am

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


November 10, 2011 | 4:43 pm

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?


November 10, 2011 | 5:21 pm

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.


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