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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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