PDA

View Full Version : do the laws of physics apply to surf maps?



hungdaddy
10-24-2015, 08:33 AM
Serious question...you know how a roller coaster can't go forever since the cart will eventually run out of energy at some point? Are surf maps and the HL2 engine the same way? Does every map without a speed boost need to be downhill or the surfer will eventually run out of speed?

139140

stratex5
10-24-2015, 02:07 PM
If the ramp is perfectly horizontal, no.
If the ramp is tilted upward then yeah you're eventually going to stop and go backward.

evolv
10-24-2015, 03:42 PM
The physics are meant to represent reality as much as possible.
As stratex has already answered though, yes.
If you open up really long linear maps in hammer, you can see the ramps continually go down without teleports or boosts.

If you want to know the details of the physics engine used in HL2 you should try contacting Hugh Reynolds. http://ksfclan.com/forum/images/smilies/32%20%2819%29.png

Spari
10-24-2015, 06:15 PM
https://github.com/ValveSoftware/source-sdk-2013/blob/56accfdb9c4abd32ae1dc26b2e4cc87898cf4dc1/sp/src/game/shared/gamemovement.cpp have fun

skip tracer
10-26-2015, 01:22 PM
there are no laws here, you can do whateva you want!! >;D :beaten: :beguiled:

They call me queer
10-29-2015, 09:31 PM
If you surf extremely smooth, on ramps without segments, then you can land higher than you started because when you hold a strafe key you are accelerating.

dexter
11-02-2015, 12:49 PM
laws of physics apply to surfing to some degree, but i wonder, why ask such a question? is there any backstory to this?