com.onlineobject.objectnet Namespace

PositionNetwork..::..IsCorrectlyPositionOnPast Method (Vector3, Int32, Int32, Boolean)

Return if this object was int os closeslly this postion on past

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public bool IsCorrectlyPositionOnPast(

	Vector3 positionToCheck,

	int rangeOnGoodLatency,

	int rangeOnToolerableLatency,

	bool exactlyMatch

)

Parameters

positionToCheck
Type: Vector3
Position to be checked
rangeOnGoodLatency
Type: Int32
How long in past must be checked for good latency ( steps in time )
rangeOnToolerableLatency
Type: Int32
How long in past must be checked for acceptable latency ( steps in time )
exactlyMatch
Type: Boolean
If true only will accept if psition matched at exclty time in past, when false any value during travel past will be accepted

Return Value