1
Vote

Crash due to skins swaps in DetectFunctors

description

Crash in PreProcessCollisions in HandleAllConstrains motivated by the fact that the PreProcessCollisions (All almost all other functions in PhysicSystem) expects Collision.SkinInfo.Skin0.Owner != null. But some DetectFunctors swap skins during detection (All not symetric ones) but never restores previous state. So if the input Skin1 without Body owner is swaped during detection then all the calls expecting an owner in Skin0 are destined to fail.

comments