Forums > Jitter

jit.phys.multiple – Get Collision Data

Jan 02 2013 | 11:46 pm

Hey, is there a way to get collision data from the jit.phys.multiple?
I had no problems to get the duration data and trigger collisions from the jit.phys.body but can’t find this on the jit.phys.multiple.

Additionally: How can I receive the with which a phys.body moves? Is there a direct way to get it? Otherwise how can I get the position data so I can figure out the velocity by this?

Jan 03 2013 | 12:54 am

jit.phys.multiple doesn’t currently output collision information, however this can be queried from the

jit.phys.body has both position and velocity attributes that can be queried with the getposition and getvelocity messages.

-- Pasted Max Patch, click to expand. --

Jan 03 2013 | 1:04 am

Thanks for your help Rob, your replies are really helpful to give me some basic ground in the jit.phys world!

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

Forums > Jitter