BEPUphysics.EntityStateManagement.StateReadBuffers.UpdateSingleThreaded C# (CSharp) Method

UpdateSingleThreaded() protected method

protected UpdateSingleThreaded ( ) : void
return void
        protected override void UpdateSingleThreaded()
        {
            for (int i = 0; i < manager.entities.Count; i++)
            {
                Entity entity = manager.entities[i];
                backBuffer[i].Position = entity.position;
                backBuffer[i].Orientation = entity.orientation;
                backBuffer[i].LinearVelocity = entity.linearVelocity;
                backBuffer[i].AngularVelocity = entity.angularVelocity;
            }
            FlipBuffers();
        }