vertex positions

Nov 1, 2013 at 2:33pm

vertex positions

Hi!

I am new to Jitter. I am trying to trace the position of an object on the xyz space. I know how to get the position of its center, but say I have a cube, I would like to know where all of the 8 vertexes are at any given moment. I have activated the matrixoutput from the gridshape and when I print the matrix it seems that the vertexes (first 3 values of each line, right?) are immobile despite the cube is actually bouncing around.

Any help?

Thank you

Michele

#269883
Nov 4, 2013 at 4:47am

@matrixoutput 2

#270084
Nov 4, 2013 at 2:37pm

Thanks Tobias,
I got the vertexes of the cube moving now but now it seems like instead of having the jit.phys.body and the gridshape (or plato) overlap and act as a one object, the former acts as a contraint of the latter, meaning the gridhshape revolves around the body. Why would that be?

#270147

You must be logged in to reply to this topic.