BEPUphysics.Vehicle.Wheel.OnAdditionToSpace C# (CSharp) Method

OnAdditionToSpace() private method

private OnAdditionToSpace ( ISpace space ) : void
space ISpace
return void
        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);
        }