Hi all,

First an image to display my problem:

I have a tank and a tilemap, you can drive the tank, but when you turn the tank obviously changes the angle this is all working but the problem is when i add collision between the tank and the tilemap when i change the angle of the tank the bounding box does not change.

Is this a bug in flixel or is this not supported?

I tried changing the bounding box myself by setting the width and height of the tank, i can get it in the correct size but not at the correct position i used this code:

`var m_HalfSizeX:Number = 19;`

var m_HalfSizeY:Number = 40;

var sin_o:Number = Math.sin(_base.angle * -0.017453293);

var cos_o:Number = Math.cos(_base.angle * -0.017453293);

var xformed_corner_1_x:Number = m_HalfSizeX * cos_o - (-m_HalfSizeY) * sin_o;

var xformed_corner_1_y:Number = m_HalfSizeX * sin_o + (-m_HalfSizeY) * cos_o;

var xformed_corner_2_x:Number = m_HalfSizeX * cos_o - m_HalfSizeY * sin_o;

var xformed_corner_2_y:Number = m_HalfSizeX * sin_o + m_HalfSizeY * cos_o;

var ex:Number = Math.max(Math.abs(xformed_corner_1_x), Math.abs(xformed_corner_2_x));

var ey:Number = Math.max(Math.abs(xformed_corner_1_y), Math.abs(xformed_corner_2_y));

_base.width = (_base.x + ex) - (_base.x - ex);

_base.height = (_base.y + ey) - (_base.y - ey);

I hope someone has a solution for this

!