check out the following example patch:
one more time , thanks
I have observed that the "duration" of contact remains at 0, can someone reproduce this default or it’s only me ?
ugh, yeah, that’s a bug.
thanks for catching, we’ll get it fixed up.
may be you will be able to suggest me ideas, I want to make a roll of the dice, I must determine on which side falls my cube.
During the collision report, the attribute ‘normal’ refers to the orientation of my item? I have to work from there?
so turns out this is a simple fix.
you must simply free the individual collision-dicts when done processing them.
the collision normal won’t tell you which side of the cube is facing up.
you should be able to determine that simply from the body’s orientation (quat, rotate, or rotatexyz attributes).
C74 RSS Feed | © Copyright Cycling '74