示例#1
0
        public override void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint)
        {
            TaintHandler handler;

            if (_taintHandlers.TryGetValue(taint, out handler))
            {
                handler((PhysxPrim)prim, taint);
            }
        }
示例#2
0
 private void HandlePrimChangedShape(PhysxPrim prim, TaintType taint)
 {
     this.QueueCommand(new Commands.ChangedShapeCmd(prim));
 }
示例#3
0
 private void HandlePrimMadeDynamic(PhysxPrim prim, TaintType taint)
 {
     this.QueueCommand(new Commands.SetPhysicalityCmd(prim, true));
 }
示例#4
0
 private void HandlePrimMadeStatic(PhysxPrim prim, TaintType taint)
 {
     this.QueueCommand(new Commands.SetPhysicalityCmd(prim, false));
 }
示例#5
0
 public override void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint)
 {
     TaintHandler handler;
     if (_taintHandlers.TryGetValue(taint, out handler))
     {
         handler((PhysxPrim)prim, taint);
     }
 }
示例#6
0
 private void HandlePrimChangedShape(PhysxPrim prim, TaintType taint)
 {
     this.QueueCommand(new Commands.ChangedShapeCmd(prim));
 }
示例#7
0
 private void HandlePrimMadeDynamic(PhysxPrim prim, TaintType taint)
 {
     this.QueueCommand(new Commands.SetPhysicalityCmd(prim, true));
 }
示例#8
0
 private void HandlePrimMadeStatic(PhysxPrim prim, TaintType taint)
 {
     this.QueueCommand(new Commands.SetPhysicalityCmd(prim, false));
 }
示例#9
0
 public override void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint)
 {
 }
示例#10
0
 public override void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint)
 {
 }
示例#11
0
 public abstract void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint);
示例#12
0
 public abstract void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint);
示例#13
0
 public override void AddPhysicsActorTaint(PhysicsActor prim, TaintType taint)
 {
     m_log.DebugFormat("Called AddPhysicsActorTaint() for prim name {0}", prim.SOPName);
 }