Rotating an image

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Mani2010
Posts: 107
Joined: Sat Jan 16, 2010 4:35 pm
Location: London,UK
Contact:

Rotating an image

Post by Mani2010 »

rotating an image, is this possible? i can see a function in IGUIImage that could do this.

i created the image using GUIEnvironment, its not a bill board in 3d.

Any work-around if this is not possible.

Reason i need it is that my character is a sprite and i need to turn the sprite to face the direction the character is moving.
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

Check the code snippets forums. There are many examples, the engine does not do this by default (as far as i last checked). Have a look for Draw2DImage in the code snippets.
Post Reply