I have C# project with SFML 2.0
It is possible to rotate obiect at middle point (not at left upper corner)?
I try something like this:
double whell_angle
;whell_angle
++;ship_whell
.Rotation = (float)whell_angle
;//ship_whell is a sprite with texture size: 27x27 pxship_whell
.Position = new Vector2f
((float)(ship_position_x_p
+ 10 + (Math
.Sin(((whell_angle
+60) * Math
.PI) / 180
.0f
)) * 14),
(float)(ship_position_y_p
+ 70 - (Math
.Cos(((whell_angle
+60) * Math
.PI) / 180
.0f
)) * 14)); Everything i tried is rerrible (also SFML.Net.chm)