Click or drag to resize
Ab4d.SharpEngine logo

FirstPersonCameraMoveCamera Method

Moves the camera for the moveVector (regardless of the current camera's LookDirection and UpDirection)

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void MoveCamera(
	Vector3 moveVector
)

Parameters

moveVector  Vector3
moveVector
Remarks

MoveCamera method just changed the camera position regardless of the LookDirectio.

To move the camera based on the current LookDirection (strafe) use StrafeCamera(Single, Single, Single) method.

See Also