View Full Version : Collision, where you went???

05-09-2010, 03:48 AM
The photo speaks for itself.

The objects with broken collision are rotated using code (SetRotation(3.1415)) They are the same objects as the ones working (that were not rotated at all).

The pivot is at 0,0 upper_left.

Setting the pivot at center causes another bug (that I will show in another post...)

EDIT: I actually forgot to put the picture... It is there now :)

05-10-2010, 10:23 PM
Hmm.. checking the world examples, SetRotate is used exactly 0 times - I guess I've never tested it.

I replaced the old collision system with the Box2D physics very quickly, so there may be pieces/remnants of the old collision system that were not properly updated, if not used in examples...

My plan:

Setup a second physics test world with more complicated things like rotating platforms to verify and fix.

Will have to get back to you later on this issue.