Announcement

Collapse
No announcement yet.

Rotating an already rotate mesh

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rotating an already rotate mesh

    I tried using the jazz tutorial on youtube, and make a simple playstyle.

    What I want is to rotate everything around the player, thus making the player roll(yeah gonna use a custom made ball later, not jazz).

    Although, I cant seem to figure out why my barrel rotates back to its original position.
    I rotated 90 degrees, and when trying to rotate it further with kismet, it will go back to its original position.

    Also though about rotating the gravety, but cant seem to find any ways to do it.. any suggestions?

    Imageshack url - Click for picture

    #2
    Unrealunits

    Hi,
    You are setting the Z to 90 .. but that's not 90 degrees , thats 90 unrealrotation units

    Rotator units are from 0 to 65535 for a full cirlce

    0 degrees = 0
    90 degrees = 16384 ( i.e. 65535/4 )
    180 degrees = 32768 ( i.e. 65535/2 )
    360 degrees = 65535

    the number will go -ve if you go -90 degrees .. if you keep spinning it will just keep adding up so a rotation of -163837.5 will be 900 degrees in a anticlockwise direction.

    Have a play with the log action in kismet and watch the rotation values while you move something in game

    Hope this helps

    Rob

    Comment


      #3
      Ah sweet, this explains a whole lot.
      Just automatically assumed it was degrees I guess.

      Thanks a lot for your time and throughout explanation

      Comment


        #4
        np dude

        .... been there , done that too

        Rob

        Comment

        Working...
        X