AquaSphereMini.Shrimp.Update3DModel C# (CSharp) Метод

Update3DModel() приватный Метод

This function will update the model with position and rotation by speed and direction.
private Update3DModel ( ) : void
Результат void
	private void Update3DModel()
	{
		//move ahead by speed
		transform.Translate(Vector3.forward * Time.deltaTime * speed);

		//rotate to direction
		transform.Rotate(Vector3.up * Time.deltaTime * turningRate * direction);
	}
/*