I have an sign on a hinge, it swings fine but the player can grab the
sign with the phys cannon and pull it away from the hinge. After
it is pulled away it will snap back onto it's original position.
any way to fix this?
1
Re: phys_hinge abnormal actions
Posted by DrGlass on Thu Jan 13th at 12:17pm 2005

DrGlass
member
1825 posts
293 snarkmarks
Registered: Dec 12th 2004
Location: USA
Occupation: 2D/3D digital artist
Posted by DrGlass on Thu Jan 13th at 12:17pm 2005
DrGlass
member
1825 posts
293 snarkmarks
Registered: Dec 12th 2004
Location: USA
Occupation: 2D/3D digital artist
Re: phys_hinge abnormal actions
Posted by Mad on Thu Jan 13th at 1:39pm 2005
Posted by Mad on Thu Jan 13th at 1:39pm 2005
I don't think there is. The most realistic thing would be to break it
in that situation. You could do the same thing in hl2 singleplayer so i
don't think anyone will care really.
Re: phys_hinge abnormal actions
Posted by Rof on Thu Jan 13th at 6:21pm 2005
Posted by Rof on Thu Jan 13th at 6:21pm 2005
You might try the "change mass to keep stable attachement to world" spawnflag.
Or possibly attach the sign with two phys_lengthcontraints instead, and set their "keep rigid" flags. But it'll be less work just to make the hinge break when pulled too much.
Or possibly attach the sign with two phys_lengthcontraints instead, and set their "keep rigid" flags. But it'll be less work just to make the hinge break when pulled too much.
Re: phys_hinge abnormal actions
Posted by RealEschaton on Thu Jan 13th at 11:09pm 2005

RealEschaton
member
19 posts
12 snarkmarks
Registered: Dec 30th 2004
Location: USA
Occupation: Student (College)
Posted by RealEschaton on Thu Jan 13th at 11:09pm 2005
You could also make it too heavy to lift with the physcannon... kind of a hack solution, but it's pretty easy to do would be good if you don't want players to be able to remove it. I'm not sure exactly where the no-lift threshold is, but it's pretty low; you can't lift a sofa, refridgerator or stove, so it's probably around 250-500 pounds.
Of course this will have side effects like making the sign swing less when struck with a bullet, but it wouldn't matter too much if it's made of metal.
RealEschaton
member
19 posts
12 snarkmarks
Registered: Dec 30th 2004
Location: USA

Occupation: Student (College)
Re: phys_hinge abnormal actions
Posted by Corona on Fri Jan 14th at 7:41am 2005
Posted by Corona on Fri Jan 14th at 7:41am 2005
How do you break the hinge if its pulled to much?
Re: phys_hinge abnormal actions
Posted by Leperous on Fri Jan 14th at 9:42am 2005

Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
Posted by Leperous on Fri Jan 14th at 9:42am 2005
By specifying a breaking force (and torque)..? There aren't that many properties of the hinge 
Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.009 seconds.

Snarkpit v6.1.0 created this page in 0.009 seconds.

