Esempio n. 1
0
 // POINT OF INTEREST
 // Use this to link the agent's bodies to the specified processor
 public void LinkToProcessor(PhysicsProcessor physicsProcessor)
 {
     _agentLink = new ObjectLinker[_agentGeom.Length];
     for (int iGeom = 0; iGeom < _agentGeom.Length; iGeom++)
     {
         _agentLink[iGeom] = new ObjectLinker(_agentGeom[iGeom]);
         physicsProcessor.AddLink(_agentLink[iGeom]);
     }
 }