[quake3-bugzilla] [Bug 5016] New: Calls to trap_CM_PointContents don't update their origins based on moving entities (water).

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu May 26 01:08:22 EDT 2011


https://bugzilla.icculus.org/show_bug.cgi?id=5016

           Summary: Calls to trap_CM_PointContents don't update their
                    origins based on moving entities (water).
           Product: ioquake3
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: ensiform at gmail.com
         QAContact: quake3-bugzilla at icculus.org


Created attachment 2751
  --> https://bugzilla.icculus.org/attachment.cgi?id=2751
Diff file for CG_PointContents replacement and fixed
trap_CM_TransformedPointContents usage

If a map has moving water entity as a door, train or whatever to "drain" or
"fill" and missile trails are passing through, the trail does not properly
switch to bubbles or stop causing smoke.  Shotguns still seem to smoke while
under these types of water brushes as well.

Solution: Fix CG_PointContents to use cent->lerpOrigin and cent->lerpAngles in
the trap_CM_TransformedPointContents and replace all other
trap_CM_PointContents with CG_PointContents (save the one inside of
CG_PointContents itself).

Diff included for r2000.

Obviously really only applies to open source mods that want to make use of this
change since it is for the cgame.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list