Pin Linkage

Pin Linkage

Re: Pin Linkage Posted by Nukewater on Wed Nov 24th 2004 at 6:48am
Nukewater
1 post
Posted 2004-11-24 6:48am
1 post 0 snarkmarks Registered: Nov 24th 2004
Hi, im really interested in the physics of this game, and im kinda trying to make a catapult of some sort, but im having troubles getting an object to rotate around a pin or shaft.. i figured i could just make a Beam with a whole in it and a rod that fits, and let func_physbox take over. But there seems to be a lot of trouble doing it this way.. the beam works itself off the rod (collision i assume) than flings off into the stratosphere..

Is there any easy way to make a beam rotate around a pin?
Re: Pin Linkage Posted by Leperous on Wed Nov 24th 2004 at 11:02am
Leperous
3382 posts
Posted 2004-11-24 11:02am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Try using a phys_hinge entity (see the Hammer-help for how to use it). Basically, if you want to limit the behaviour of your physbox entities then there are a bunch of really useful phys_ point entities you can use.
Re: Pin Linkage Posted by Foxpup on Mon Nov 29th 2004 at 1:30am
Foxpup
380 posts
Posted 2004-11-29 1:30am
Foxpup
member
380 posts 38 snarkmarks Registered: Nov 26th 2004 Occupation: Student Location: the Land of Oz
Make sure the hole is bigger than the pin, not the same size or it'll cause problems.
Re: Pin Linkage Posted by Night-Wolf on Mon Nov 29th 2004 at 12:14pm
Night-Wolf
100 posts
Posted 2004-11-29 12:14pm
100 posts 20 snarkmarks Registered: Nov 23rd 2004
Cheack this out-

http://www.hl2world.com/wiki/index.php/Catapults

Hope that helps.