Predict position of object
Namespace:
com.onlineobject.objectnet.examples
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll)
public Vector3 Predict(
Vector3 nextPosition,
Vector3 linearVelocity,
float deltaTime,
int currentFPS
)
Parameters
- nextPosition
- Type: Vector3
Next position on buffered positions to interpolate
- linearVelocity
- Type: Vector3
Linear velocity of object on origin
- deltaTime
- Type: Single
Delta time on origin
- currentFPS
- Type: Int32
Current FPS where login is being executed
Return Value