Pin Linkage
Post Reply
Quote
Re: Pin Linkage
Posted by Nukewater on Wed Nov 24th at 6:48am 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?





Quote
Re: Pin Linkage
Posted by Leperous on Wed Nov 24th at 11:02am 2004


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.



Quote
Re: Pin Linkage
Posted by Foxpup on Mon Nov 29th at 1:30am 2004


Make sure the hole is bigger than the pin, not the same size or it'll cause problems. [addsig]



Quote
Re: Pin Linkage
Posted by Night-Wolf on Mon Nov 29th at 12:14pm 2004


Cheack this out-

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

Hope that helps.






Post Reply