예제 #1
0
 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;
 }
예제 #2
0
 public override void OnDeserialization(object sender)
 {
     TargetRetriever.SetPossibleTargets(collidableBodies);
     base.OnDeserialization(sender);
     this.Collision += HandleWeaponCollisions;
 }