Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

my Question about Pawn Translation...

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

  • my Question about Pawn Translation...

    Hi;

    The question is how could I change my Pawn Mesh origin, in UnrealScript?

    I put this code in my Pawn :

    self.Mesh.Translation.X = -50;

    But it doesn't work....

  • #2
    As far as I know you can't, but there are some uscript options that might work (though not quite as cleanly as adjusting the mesh origin in the modeling program or UEd):
    1. Adjust the PrePivot vector variable (keeping in mind that you will have to add some replication/client side code to get other clients to see the change).
    2. Use the SetBoneLocation or SetBoneDirection functions to change the mesh's rootbone location.

    Comment


    • #3
      Code:
      Mesh.SetTranslation(NewTranslation);
      ...and this is not the same engine - return to UDK section.

      Comment


      • #4
        VendorX:
        Thanks, it works...

        Comment

        Working...
        X