beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

AmmoCharacterFpsCamera Op

AmmoCharacterFpsCamera

First person camera to use with AmmoCharacter


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.


Edit Documentation

Full Name
  • Ops.Extension.AmmoPhysics.AmmoCharacterFpsCamera
Visibility
  •  Extension Op - Visible to all users
AuthorMaintained by Team


 

INPUT PORTS


render (Trigger)
Enable pointer lock (Number:boolean )

hide and lock mouse cursor on the canvas

Height (Number)

height of camera placement on Character body

Character Name (String)

Character to attach camera to

Mouse Speed (Number)

mouse look speed

Active (Number:boolean )

activate camera view

OUTPUT PORTS


trigger (Trigger)
isLocked (Number)

has the mouse cursor been locked (Boolean)

Mouse Left (Trigger)

mouse left click

Mouse Right (Trigger)

mouse right click

Dir X (Number)

direction of camera on X axis

Dir Y (Number)

direction of camera on Y axis

Dir Z (Number)

direction of camera on Z axis

Rot X (Number)

rotation amount on X axis

Rot Y (Number)

rotation amount on Y axis


Usages of AmmoCharacterFpsCamera

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


created opuser avatarpandur - 2022-03-17
Ops.User.pandur.AmmoCharacterCamera renamed to Ops.Dev.AmmoCharacterCamerauser avatarpandur - 2022-03-17
Ops.Dev.AmmoCharacterCamera renamed to Ops.Physics.Ammo.AmmoCharacterCamerauser avatarpandur - 2022-05-31
Ops.Physics.Ammo.AmmoCharacterCamera renamed to Ops.Physics.Ammo.AmmoCharacterFpsCamerauser avatarpandur - 2022-06-07
renameOps.Physics.Ammo.AmmoCharacterFpsCamera renamed to Ops.Extension.AmmoPhysics.AmmoCharacterFpsCamerauser avatarpandur - 2023-09-14