TargetElapsedTime
Introduction
Code Example
// In Game1.cs
const int framesPerSecond = 10;
this.TargetElapsedTime = TimeSpan.FromSeconds(1/framesPerSecond);Fixing collision tunneling with higher frame rate
using FlatRedBall.Math;
using FlatRedBall.Math.Geometry;PositionedObjectList<Circle> mCircles = new PositionedObjectList<Circle>();
AxisAlignedRectangle mFloor;TargetElapsedTime and performance
Last updated
Was this helpful?

