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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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