Page 1 of 1

Collision Bounds for Rect2D_OBB

Posted: Thu Sep 11, 2008 9:30 pm
by diki
hi everybody,

first off, thank you very much for this nice tool! i am overwhelmed by the pure awesome and the prototyping speed of the editor!
second, a small question / bug (?):

when using Rect2D_OBB as the collision style, it appears that the collision bounds become relative to the scale of the model - e.g., setting the bounds of a model with scaling [ .2, .2 ] to [ .5, .5 ] means that the bounding box is now [ .1, .1 ] in size. this appears contrary to the other collision models, where the above would actually make the bounding box of the model larger than the model itself
- or did i just miss something?

Posted: Fri Sep 12, 2008 9:04 am
by Kjell
Hi diki,

No you are correct. Only the OBB Collision types take a Model's scale and rotation in consideration. The non-OBB types only use the Position, CollisionBounds and CollisionOffset properties.

+ Welcome :)

K

Posted: Fri Sep 12, 2008 2:05 pm
by diki
thanks for your answer! :)