public SuperMeleeWorld() : base() { this.Collision += HandleWeaponCollisions; this.doSeperateIntersecting = true; this.contactBroadPhaseOnlyOnce = true; this.seperatingFactor = 1.6f; this.collisionStepsCount = 5; this.contactStepsCount = 5; Physics.MetersPerDistanceUnit = 10000; TargetRetriever.SetPossibleTargets(this.collidableBodies); this.rayTraceVelocityTolerance = 50; }
public override void OnDeserialization(object sender) { TargetRetriever.SetPossibleTargets(collidableBodies); base.OnDeserialization(sender); this.Collision += HandleWeaponCollisions; }