UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Changing the rotation point on models

broken avatar :(
Created 7 years ago
by HashimotoSoda
0 Members and 1 Guest are viewing this topic.
1,200 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 4 July 2016
Last active: 7 years ago
Posts
20
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
HashimotoSoda's Groups
HashimotoSoda's Contact & Social Links
Is it possible to change the point of rotation on the models in Radiant? There are quite a few doors that have the rotation set in the middle instead of the ends, I assume because those are most likely decoration doors and what not. but I'd really like to know if what I'm asking is possible.
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 1 November 2013
Last active: 3 years ago
Posts
61
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
hajhaka's Groups
hajhaka's Contact & Social Links
this is the tutorial desk not help.
Marked as best answer by HashimotoSoda 7 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2014
Last active: 3 years ago
Posts
103
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
Signature
Dead Palace
×
Riptide1106's Groups
Riptide1106's Contact & Social Links
you can link your model to a script origin, then rotate the origin. just place the origin where you want your rotation axis to be.

here's an example from an old script of mine:
Code Snippet
Plaintext
linking_test()
{
new_origin = getent("new_origin","targetname"); //script origin
falling_tree = getent("falling_tree","targetname"); //misc model
falling_trig = getent("falling_trig","targetname"); //trigger use

falling_tree enableLinkTo();
falling_tree LinkTo( new_origin );


falling_trig waittill("trigger", player);
new_origin rotatePitch(90, 2);
wait 2;
falling_trig delete();

}

ps: also if i remember correctly, i think it has to be a misc model, not script model
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 4 July 2016
Last active: 7 years ago
Posts
20
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
HashimotoSoda's Groups
HashimotoSoda's Contact & Social Links
this is the tutorial desk not help.
Dang.. I swear I was in the help desk. Hopefully a mod can move it over to there. Noob mistake on my part.

 
Loading ...