jit.phys.multiple – Get Collision Data

Jan 2, 2013 at 11:46pm

jit.phys.multiple – Get Collision Data

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?

#65888
Jan 3, 2013 at 12:54am

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

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. –
#237295
Jan 3, 2013 at 1:04am

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

#237296

You must be logged in to reply to this topic.