View unanswered posts | View active topics It is currently Thu Jan 02, 2025 7:32 pm



Reply to topic  [ 3 posts ] 
 Help with head rotation 
Author Message
User avatar

Joined: Wed Jun 04, 2008 12:28 am
Posts: 17
Reply with quote
Post Help with head rotation
i am making a mod with a large head and his head goes way too far when it rotates up or down
obligatory diagram for dummies:
Image
is there any way i can stop the rotation at a certain point?


Wed Jun 04, 2008 12:48 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Help with head rotation
Changing the JointOffset would move the point of rotation, which could make it appear to be moving less, but there's no way to restrict it that works very well.

Your alternative is the AimRange variable, but that has problems; it's bound to the world, not the actor, so if it's on its back, it will have problems shooting anywhere useful. I'm also not sure that restricts head motion or just gun movement, so, give it a try, but don't be too confident.

Also, inb4 "but with lua".


Wed Jun 04, 2008 1:22 am
Profile
User avatar

Joined: Wed Jun 04, 2008 12:28 am
Posts: 17
Reply with quote
Post Re: Help with head rotation
thanks for the help, Grif.
i played around with the joints a little more but the rotation still looks more or less the same, i made it as good as i could

Aimrange fixed it but reduced his aim range, im still playing with it to find the perfect balance so his head doesnt overlap the body. It restricts both head and gun movement BTW

im still playing with/adding other stuff as well so i hope to have my mod out within a month or so.

thanks again :grin:


Wed Jun 04, 2008 11:04 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.039s | 13 Queries | GZIP : Off ]