Phys_hinge Created 19 years ago2005-03-01 15:38:29 UTC by LittleTortilla LittleTortilla

Created 19 years ago2005-03-01 15:38:29 UTC by LittleTortilla LittleTortilla

Posted 19 years ago2005-03-01 15:38:29 UTC Post #94454
I place a phys_hinge entity and connected a func_physbox to it and it works fine except when you use to physgun you can pick up the physbox. It flys over to you and when you set it down or shoot it away, it disapears and reapears back on the hinge. How can I make it ignores the grab function of the physgun?
Posted 19 years ago2005-03-01 15:39:54 UTC Post #94457
In the flags, there sould be a check box that says something like 'physgun doesnt affect' or something like that.
Luke LukeLuke
Posted 19 years ago2005-03-01 15:44:00 UTC Post #94462
These are the flags it has:
Start Asleep
Ignore +USE for pickup
debris - dont collide with the player or other debris
motion disabled
use preferred carry angles
enable motion on physcannon grab
not affected by rotor wash
generate output on +use
only break on trigger
break on touch
break on pressure
break immediately on physics
dont take physics damage

I only have the generate output on +Use checked because it was like that by default.
Posted 19 years ago2005-03-01 15:47:43 UTC Post #94463
Thats odd. Then you shouldnt be able to pick it up at all. I have no idea whats wrong.

Just wait til rabid sees this topic. ;)
Luke LukeLuke
Posted 19 years ago2005-03-02 01:00:01 UTC Post #94535
Make a physconstraint affecting it that has entity one as the physbox and two as the hinge. Set a break limit or something if you want it to be able to pull away with enough force, like the Hotel sign in Overwatch.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2005-03-02 04:09:11 UTC Post #94545
that didnt work, just made the doors not even move at all and I could still pull em off. Note that I am not really pulling the doors off but it just appears that I have. After a few seconds, or if I drop or throw it, the physbox instantly is back on the hinge. The hinge and physbox works fine its just this looks really retarded and is annoying. If I am a little bit aways from the hinged door and I use the physgun it pulls the door open but when I get close it just pulls it off (but not really "off" like I said above).
Posted 19 years ago2005-03-02 16:13:55 UTC Post #94636
Try it with a phys_lengthconstraint instead :F
RabidMonkey RabidMonkeymapmapmapfapmap
You must be logged in to post a response.