Rotating the model?


(Igloo) #1

Hello,

I want to rotate my model, but setting angle is only about X direction… just to put it on the earth, “like it fell down”.

Model: models/mapobjects/props_sd/fuel_can.md3

Thanks!

Greetings,
Igloo


(.Chris.) #2

Use ‘angles’ instead then 3 values each one representing different axis, I can’t remember the order of top of my head but trial and error wont take long to figure out which is which. Also in 1.5 radiant you can use the R button to rotate the model but some times gives odd values but works non the less.


(Igloo) #3

Tried to check some posts by search, unfortunately nothing… hmm, I would say X Y Z.

Greetings,
Igloo


(Igloo) #4

But if someone knows the correct answer - please reply here :!:

I am not still at PC, some break time and also not much of it to test whether combination of angle works.

Greetings,
Igloo


(S14Y3R) #5

-not angle, must be angles x y z (rotates by origin of the model, not gamespace) Like chr1s said, trial and error to get the effect you want. I’d say 90 0 0 would put it on its side. Try it, the key does work on both misc_models and misc_gamemodels.


(Igloo) #6

I’ll try this one, thx. In scripting (creating the obj) it’s just possible to add gamemodels. misc_models are compiled with map…

Greetings,
Igloo


(.Chris.) #7

What exactly are you trying to accomplish?
You can add gamemodels just as you would misc_models but you need to give them targetname then using that targetname you can make them appear and disappear in the script using the setstate command.


(Igloo) #8

I know, but they will use to be only graphic elements for my needs :wink: I got it to work, to make the thing lying by: 0 60 90

Just, as you said, I tried with different values. But “angles”, not “angle” key and then everything went fine :stuck_out_tongue: So it’s simple.

Anyway, thanks for attention.

Greetings,
Igloo