Physics hinges, physics explosion Created 18 years ago2006-05-20 15:14:17 UTC by Xyos212 Xyos212

Created 18 years ago2006-05-20 15:14:17 UTC by Xyos212 Xyos212

Posted 18 years ago2006-05-20 15:14:17 UTC Post #181195
I want to make a brush able to snap back and forth launching the player into the air. Its similar to how a mouse trap would work. I was going to use a trac_Train, but Im wondering if I can do this with a physics hinge, and physics_explosion. If so, can the physics_explosion repeat in intervals of 5 seconds?

Here is a picture to illustrate what I mean:

http://img246.imageshack.us/img246/3181/hingy2kl.jpg

Any help is appreciated :)
Posted 18 years ago2006-05-20 22:30:35 UTC Post #181266
You can make your "springboard" a func_physbox, attach a phys_hinge to the edge about which you want it to rotate and attach a phys_thruster to the springboard (thrust force axis pointing up with both force and torque flags checked and apply locally).

Stand on the springboard, trigger the thruster and off you go.

With a springboard 192 units long and a force of 3000, I launched myself about 1500 units into the air. Like they say, it's not the fall that hurts.. it's that sudden stop at the end.

The rectangle beyond the springboard is a pool I'm constructing to land in. A 1500 unit drop is otherwise fatal.

Here's the contraption:
User posted image
Smashing into the 1500 unit high ceiling hard enough to kill me:
User posted image
Getting some major air:
User posted image
Posted 18 years ago2006-05-21 05:41:08 UTC Post #181288
Do what he said lol (Which is very helpful)

I find phys_explosion to be buggy anyway. Sometimes it just fails to work for some odd reason =/
Posted 18 years ago2006-05-21 15:18:17 UTC Post #181340
Thanks alot for the help :) Very informative
You must be logged in to post a response.