PDA

View Full Version : Polygon and Image rotation bugs


Robin
05-11-2008, 01:48 PM
At the moment, images rotate around the center axis (x+width/2, y+height/2), but if you try to rotate a polygon, it rotates around the top-left axis, (x,y)
- Dusty has pointed out that Stefan may be aware of this bug

Also rotation of showimg/poly on a gmap is not being correctly transmitted, e.g. I do something like this in a weapon script:


with(findimg(1)) {
image = "block.png";
rotation = pi/2; //45 degrees
}


The image will show for everyone in the level but only to my client will it show with rotation.

Please fix :(

DustyPorViva
05-11-2008, 03:08 PM
Ya, it's been mentioned before about the rotation... and I think Stefan said he was going to change that but I don't think he has :/

Robin
05-11-2008, 03:15 PM
Ya, it's been mentioned before about the rotation... and I think Stefan said he was going to change that but I don't think he has :/

Two seperate rotation bugs in my post Dusty, which has been mentioned before? x_x

DustyPorViva
05-11-2008, 03:23 PM
The first one.

Robin
05-11-2008, 04:46 PM
The first one.

Okay have modified my post :)

Graal should have a trac x-x

cbk1994
05-11-2008, 05:38 PM
Graal needs an ability to set anchor positions for rotating :cry: