Importing a model [Question]

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

slavek

Grizzled Veteran
May 4, 2006
3,074
943
113
UnrealEd: Viewport #1
I'm importing some SkeletalMesh/Anims from UT99 to use in my new map. I can successfully import the model the the problem is that they are all rotated incorrectly(They are rotated 90-180degrees than what they should be)

My question is: Is there a way I can import them into the editor and input the correct rotation values or a way I can edit them? Or do I have to edit the models in a 3d modeling program?
 

crono

FNG / Fresh Meat
Oct 3, 2009
54
2
0
Oslo, Norway
You can rotate them appropiately in the code, but it would seem better to me to have it closer to the game size/rotation in the first place though.

I'm not sure how you would rotate it, and the possible effects it has on the animation(s), but I imagine you'd put something like this in your weapon/zed/w.e. code base:

defaultproperties
{
Rotation=(Pitch=-910,Yaw=0,Roll=2910)
}

These values are probably not right for your case though, you'll have to experiment to get the right setting
 

slavek

Grizzled Veteran
May 4, 2006
3,074
943
113
UnrealEd: Viewport #1
Ahh, found that property in the animation options. Fun to learn new stuff! Thanks :D

Soon, there will be something new that will hack you up and eat your face off. ;)