AmmoCharacterFpsCamera Op
extension op - visible to all usersFirst person camera to use with AmmoCharacter
Summary (oneliner)
This specialized camera operator is used with an AmmoCharacter physics body and can transmit direction to the controlled character and affect how the character will move.
You must setup the character name to a matching AmmoCharacter physics body for the camera to correctly attach.
When using this camera with an AmmoDebugRenderer, be sure to place the debug operator under the camera view, to correctly match the writeframe and debug rendering with your scene graphics.
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
hide and lock mouse cursor on the canvas
height of camera placement on Character body
Character to attach camera to
mouse look speed
activate camera view
Outputs
has the mouse cursor been locked (Boolean)
mouse left click
mouse right click
direction of camera on X axis
direction of camera on Y axis
direction of camera on Z axis
rotation amount on X axis
rotation amount on Y axis
Patches using AmmoCharacterFpsCamera
Changelog
created op 2022-03-17 - pandur | |
Ops.User.pandur.AmmoCharacterCamera renamed to Ops.Dev.AmmoCharacterCamera 2022-03-17 - pandur | |
Ops.Dev.AmmoCharacterCamera renamed to Ops.Physics.Ammo.AmmoCharacterCamera 2022-05-31 - pandur | |
Ops.Physics.Ammo.AmmoCharacterCamera renamed to Ops.Physics.Ammo.AmmoCharacterFpsCamera 2022-06-07 - pandur | |
rename | Ops.Physics.Ammo.AmmoCharacterFpsCamera renamed to Ops.Extension.AmmoPhysics.AmmoCharacterFpsCamera 2023-09-14 - pandur |