예제 #1
0
 //After an initial analysis of the entire truss as a rigid body, normal forces will be evaluated.
 public Joint(Vector3 inPosition, float massIn = 10f)
 {
     velocity         = new Vector3(0, 0, 0);
     pinned           = false;
     mass             = massIn;
     position         = inPosition;
     connectedMembers = new List <Member>();
     isFirstMemPoint  = new List <bool>();
     staticForces     = new List <KNForce>();
     staticForces.Add(KNForce.weight(mass * 9.81f));
 }
예제 #2
0
 public void addForce(KNForce newForce)
 {
     staticForces.Add(newForce);
 }