Hey,
All goign well so far, i've got a mesh plane with sphereical rigid bodies setup for each vertex (cant use one rigid body per plane, with geom for each vertex saddly because sweenie hasnt wrapped any tokgeom_getx funcs).
Now, im just about to start work with setting the joints for this rigid bodies, and the image below should explain what i mean. But im not sure how to check where to join to. As you can see vertex 0 only joins onto vertex 1 and 5, and vertex 5 only joins onto vertices 6, 0 and 10.
What im having trouble with is working out the directions of the joins, which should be applied where. Its ok for the bottom vertex, i can work them out, but im not sure on the others. :\ Any help really arpiciated (excuse spelling ;) )
Heres the pictures:

How the vertices are laid out

Rigid bodies in green, joints in red and the problem that i need to solve in blue (joints like that shouldnt be made
Oh, I'm also guessing that I'm going to need to use Mod and stuff to work out where the vert is?
All goign well so far, i've got a mesh plane with sphereical rigid bodies setup for each vertex (cant use one rigid body per plane, with geom for each vertex saddly because sweenie hasnt wrapped any tokgeom_getx funcs).
Now, im just about to start work with setting the joints for this rigid bodies, and the image below should explain what i mean. But im not sure how to check where to join to. As you can see vertex 0 only joins onto vertex 1 and 5, and vertex 5 only joins onto vertices 6, 0 and 10.
What im having trouble with is working out the directions of the joins, which should be applied where. Its ok for the bottom vertex, i can work them out, but im not sure on the others. :\ Any help really arpiciated (excuse spelling ;) )
Heres the pictures:

How the vertices are laid out

Rigid bodies in green, joints in red and the problem that i need to solve in blue (joints like that shouldnt be made
Oh, I'm also guessing that I'm going to need to use Mod and stuff to work out where the vert is?