Making somethign rotate

Making somethign rotate

Re: Making somethign rotate Posted by $loth on Thu Aug 5th 2004 at 12:21pm
$loth
2256 posts
Posted 2004-08-05 12:21pm
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
I am trying to make something swing, like a pendulum or a swing would, should I make it a func_door rotating or a func_rotating, I want it to swing about 30-40 degrees each way.

Help appreciated :smile:
Re: Making somethign rotate Posted by fraggard on Thu Aug 5th 2004 at 12:22pm
fraggard
1110 posts
Posted 2004-08-05 12:22pm
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
func_pendulum
Re: Making somethign rotate Posted by fishy on Thu Aug 5th 2004 at 2:44pm
fishy
2623 posts
Posted 2004-08-05 2:44pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
seems reasonable

:smile:
Re: Making somethign rotate Posted by 7dk2h4md720ih on Thu Aug 5th 2004 at 3:32pm
7dk2h4md720ih
1976 posts
Posted 2004-08-05 3:32pm
1976 posts 198 snarkmarks Registered: Oct 9th 2001
Re: Making somethign rotate Posted by G.Ballblue on Thu Aug 5th 2004 at 3:39pm
G.Ballblue
1511 posts
Posted 2004-08-05 3:39pm
1511 posts 211 snarkmarks Registered: May 16th 2004 Occupation: Student Location: A secret Nuclear Bunker on Mars
Choose your axis carefully --- if you don't it'll rotate wrong. Instead of swinging like pendulum :\
Re: Making somethign rotate Posted by JFry on Thu Aug 5th 2004 at 6:10pm
JFry
369 posts
Posted 2004-08-05 6:10pm
JFry
member
369 posts 82 snarkmarks Registered: Mar 9th 2004 Occupation: Scumbag Location: USA
yea those things are a bish to set up right.
Re: Making somethign rotate Posted by $loth on Thu Aug 5th 2004 at 6:51pm
$loth
2256 posts
Posted 2004-08-05 6:51pm
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Soz for the long wait fella's [damn ntl].

Thanks for the answer!
Re: Making somethign rotate Posted by $loth on Thu Aug 5th 2004 at 7:15pm
$loth
2256 posts
Posted 2004-08-05 7:15pm
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Bet you that none of you know what im using this for :razz:
Re: Making somethign rotate Posted by fishy on Thu Aug 5th 2004 at 8:09pm
fishy
2623 posts
Posted 2004-08-05 8:09pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
to make something act like a pendulum. possibly even a pendulum. :razz:
Re: Making somethign rotate Posted by wil5on on Fri Aug 6th 2004 at 1:38am
wil5on
1733 posts
Posted 2004-08-06 1:38am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
I once tried using a func_pendulum for a searchlight beam in a DoD map. I dont think DoD likes the func_pendulum... :smile:
Re: Making somethign rotate Posted by Hornpipe2 on Fri Aug 6th 2004 at 4:41am
Hornpipe2
636 posts
Posted 2004-08-06 4:41am
636 posts 123 snarkmarks Registered: Sep 7th 2003 Occupation: Programmer Location: Conway, AR, USA
Choose your axis carefully --- if you don't it'll rotate wrong. Instead of swinging like pendulum :\
Find the axis you want it to rotate on, and find in which of the 2d views it appears to be "coming out of the screen" if you drew a line along it. For instance if you wanted something rotating back and forth along the floor (no vertical movement) then the axis would appear in the Top (X/Y) view to be a line coming straight up. This means the letter that does not appear (in this case, Z) is the axis you want it to rotate on.

Make sense?
Re: Making somethign rotate Posted by $loth on Fri Aug 6th 2004 at 7:16am
$loth
2256 posts
Posted 2004-08-06 7:16am
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
Yes it does HP thanks for that, when I did a compile, it was swinging the wrong way :sad: