DrChat / Gmod-vphysics

Replacement vphysics module for the Source engine (originally meant for Garry's Mod)
Other
92 stars 15 forks source link

Props don't collide with map if they're spawned with the map. #16

Closed DrChat closed 10 years ago

DrChat commented 10 years ago

Observed on d1_trainstation_02, could be other levels.

If you wake any props, they fall straight through the level. Could be a symptom of a missing collision manifold between the world and the prop. The only place that could do this would be CPhysicsObject::RecheckCollisionFilter()

Underlying issue with the game's collision solver returning false on world vs. prop collisions (appears to be in that order only). If our collision solver returns false, bullet won't delete any existing overlapping pairs between the two objects but it won't create any new ones.

DrChat commented 10 years ago

Fixed with object pair hash fix.