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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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