View Issue Details

IDProjectCategoryView StatusLast Update
0001120The Dark ModPhysicspublic29.06.2009 08:06
ReporterIshtvan Assigned ToIshtvan  
PrioritylowSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Product VersionSVN 
Summary0001120: Shouldering Bodies of Class idAFEntity_WithAttachedHead Does Not Deactivate AF in World
DescriptionFor some reason if you shoulder a body that's been spawned directly as a corpse using idAFEntity_WithAttachedHead, the corpse in the world does get hidden, but the AF physics are still running and you're still dragging it for some reason. This is very strange, since any time Hide() gets called, StopDrag should also be called, unless it is re-grabbing it somehow.

There's also an occasional warning message about not being able to add it to the inventory.
Additional InformationI looked thru the code to see if we check for type idAI when we should be checking for type idAFEntity_Base, but didn't see anything. I also checked the ::Hide methods on idAFEntity_Base compared to idAI, and didn't see anything that would explain the behavior. Except possibly this:

physicsObj.SetContents( 0 );
physicsObj.GetClipModel()->Unlink();

is in idAI::Hide but not idAFEntity_Base::Hide. However, I think that's being applied to the navigation clipmodel, not the AF physics. So it shouldn't make a difference.
TagsNo tags attached.

Activities

Ishtvan

Ishtvan

18.09.2008 07:29

reporter   ~0001579

idAFEntity_Base::Think loop was not checking if it was hidden before running/updating ragdoll physics. Fixed in source, not yet in pk4.

Issue History

Date Modified Username Field Change
15.09.2008 08:46 Ishtvan New Issue
15.09.2008 08:46 Ishtvan Status new => assigned
15.09.2008 08:46 Ishtvan Assigned To => Ishtvan
16.09.2008 02:55 Ishtvan Priority normal => low
18.09.2008 07:29 Ishtvan Note Added: 0001579
18.09.2008 07:29 Ishtvan Status assigned => resolved
18.09.2008 07:29 Ishtvan Resolution open => fixed
29.06.2009 08:06 greebo Status resolved => closed