UpdateDetectorPosition() 보호된 추상적인 메소드

Updates the position of the detector before each step.
protected abstract UpdateDetectorPosition ( ) : void
리턴 void
예제 #1
0
        internal void OnAdditionToSpace(ISpace space)
        {
            //Make sure it doesn't collide with anything.

            shape.OnAdditionToSpace(space);
            shape.UpdateDetectorPosition(); //Need to put the detectors in appropriate locations before adding since otherwise overloads the broadphase
            space.Add(shape.detector);
        }
예제 #2
0
 internal void UpdateDuringForces(float dt)
 {
     suspension.ComputeWorldSpaceData();
     shape.UpdateDetectorPosition();
 }