CSS Logo XNACS1Lib Library Documentation
XNACS1Primitive.HasNonZeroVelocity Method 

Game-Themed Introductory Programming Project   

Retruns if the current velocity is non-zero.

public bool HasNonZeroVelocity();

Return Value

True, if velocity is non-zero, otherwise, returns false.

Remarks

When a primitive is moving very slowly (speed at 1/100,000 of world dimension), its velocity will be set to zero. This avoids final "jittering" of primitives that are moving very slowly.

See Also

XNACS1Primitive Class | XNACS1Lib Namespace