Rotate Collider?

5 views
Skip to first unread message

Thomer Gil

unread,
May 1, 2020, 9:36:59 AM5/1/20
to excaliburjs
I can rotate an Actor with this.rotate = /* radians */, but I noticed that the Collider doesn't rotate along with it. This matters, for example, with rectangular shaped actors, e.g., a long missile. Rotating the missile will visually do the right thing, but the colliding box is still pointed in the original direction, leading to mysterious colliding behavior. Am I rotating the actor the wrong way? Thank you.
Reply all
Reply to author
Forward
0 new messages