Bug 2978 - Overbounce bug
Status: RESOLVED WONTFIX
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: All All
: P2 minor
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL: http://www.quakedev.com/forums/index....
Depends on:
Blocks:
 
Reported: 2006-12-22 18:49 EST by Pat Raynor
Modified: 2007-05-21 11:27:12 EDT
0 users

See Also:


Attachments
The Overbounce fix patch (980 bytes, patch)
2006-12-22 18:51 EST, Pat Raynor

Description Pat Raynor 2006-12-22 18:49:35 EST
From http://www.quakedev.com/forums/index.php?topic=1221.0:

bg_pmove.c in function PM_WalkMove:
[snip]
/* this is what causes the rebound bug:
   if velocity is { 0, 0, 300 } here, vlen is 300 (duh)
   but when you hit the ground the CLIPPED vel is { 0, 0, 0.3 }
   that's normalised properly, but then scaled by the ORIGINAL vlen
   so you just shoot straight back up

   vel = VectorLength(pm->ps->velocity);

   // slide along the ground plane
   PM_ClipVelocity (pm->ps->velocity, pml.groundTrace.plane.normal, pm->ps->velocity, OVERCLIP );

   // don't decrease velocity when going up or down a slope
   VectorNormalize(pm->ps->velocity);
   VectorScale(pm->ps->velocity, vel, pm->ps->velocity);
*/
   PM_ClipVelocity( pm->ps->velocity, pml.groundTrace.plane.normal, pm->ps->velocity, OVERCLIP );
Comment 1 Pat Raynor 2006-12-22 18:51:00 EST
Created attachment 1217 [details]
The Overbounce fix patch

This fixes the problem of overbounces in the game and cgame modules
Comment 2 Thilo Schulz 2007-01-24 12:06:24 EST
Do we want to fix this at all?
The overbounce has become part of some tricking communities as far as I know.
Comment 3 Zachary J. Slater 2007-01-25 17:05:01 EST
If this is in the original quake 3 and is part of it's physics, then no, it shouldn't be changed.
Comment 4 Ryan C. Gordon 2007-05-21 11:27:12 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.