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....
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....
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.
"What do you mean it doesn't exist clientside?"
YARM: where player's Lean, Prone, Mantle, Dash, Crouch Jump, 'Parkour' and slide around all with generic realistic weapons!
My Generic Mods for UT2K4:
Yet Another Real-life Mod: Realistic weapons, unoriginal gameplay, w/ cheap CODMW knockoff mutator
TD Vehicles: HUMV, MI4Hound, Motorcycle, IFAV Jeep, UH-60, MH-53 & AH-6 Helicopters, Abrams Tank
...and this is not the same engine - return to UDK section.Code:Mesh.SetTranslation(NewTranslation);
VendorX:
Thanks, it works...
Bookmarks