Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Problems with Drawable.Rotate
Print
Pages: [
1
]
Author
Topic: Problems with Drawable.Rotate (Read 1680 times)
0 Members and 1 Guest are viewing this topic.
servvs
Newbie
Posts: 10
Problems with Drawable.Rotate
«
on:
April 14, 2010, 12:07:25 am »
Is there any way to rotate an image from an offset axis? Basically I want a wheel to spin in circles but it rotates around a large axis...
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Problems with Drawable.Rotate
«
Reply #1 on:
April 14, 2010, 12:14:05 am »
You can set the center of the drawable (which will be the center of rotation as well as all other transformations) with the SetCenter function.
Logged
Laurent Gomila - SFML developer
servvs
Newbie
Posts: 10
Problems with Drawable.Rotate
«
Reply #2 on:
April 14, 2010, 12:35:26 am »
thank you very much laurent. Ive got to read more on all the functions before I ask questions.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Problems with Drawable.Rotate