Feb 27, 2012 at 5:04am
In the example below, collision_names is an array containing all the collisions in which I’m interested. I create that array by concatenating the names of the two objects together in all permutations (ugh!). For any one of 10 objects hitting any one of 2 objects, that yields 40 potential names (10 x 2 x 2). It seems that Max doesn’t makes two collision names for the same two objects…but I don’t know which order that Max might concat it.
Once I have that array, then when I get the collision dictionary out of the right outlet of jit.phys.world, I send it to a js object containing this snippet of code…
for (var a=0; a
You must be logged in to reply to this topic.