Skip to content

raylib.CameraPitch

JoeStrout edited this page Oct 17, 2026 · 1 revision

Rotates the camera around its right vector, pitch is "looking up and down" - lockView prevents camera overrotation (aka "somersaults") - rotateAroundTarget defines if rotation is around target or around its position - rotateUp rotates the up direction as well (typically only useful in CAMERA_FREE) NOTE: [angle] must be provided in radians

Parameters

Parameter Default Value Note
camera
angle
lockView 1
rotateAroundTarget 0
rotateUp 0

Return value

None.

Notes

Clone this wiki locally