Rotating an object

Hiya

I've had a look thru the spec and can't find anything relating to rotation which i think means I can't do it :(

But does anyone know if there is a way to rotate an object I have a png I need to spin 90 degrees.

I'd prefer to do it in the xmu but if i cant then doing it thru the js is fine.

Thanx
Sarah


Answer this question

Rotating an object

  • Ram Babu

    Levelx solution works. You can pull off a pretty smooth look, but watch your pixel buffer!

  • Jamie Thomson

    Hi there

    I actually need it to rotate on screen as a spinning item so flip won't work,

    The only other way i can thin to do is is to plot a circular path in the java script but this seems like over kill for what is a relatively small piece of menu animation in the background. I don't want to use a series of images either as its a big image.

    :(

  • harmony_76

    Hiya

    Thanx for the replies but neither is a viable solution, The objects will just have to slide horizonally :)

    This is why gfx departments should ask the authoring guys before going mad with designs lol

    Cheers
    Sarah

  • sanwanas

    If you make 36 transparent .png textures of an object each time rotated 10 degrees. Then use script to change the texture sequently so it will appear to be rotating. You'll get something like texture01.png texture02.png. This should take some time to make but it isn't hard.

    UMD video had the rotate function even around the z axis, that was very nice to play with.


  • nmirhan

    I tihnk a mng would be a better solution ;)

  • AliciaV

    Hi there

    I 'm also a new BEE. :)

    But I have seen this style property called style:flip

    Try it.


  • Rotating an object