AmmoCharacterFpsCamera Op

AmmoCharacterFpsCamera

First person camera to use with AmmoCharacter


<p>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.</p> <p>You must setup the character name to a matching AmmoCharacter physics body for the camera to correctly attach.</p> <p>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.</p>


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


INPUT PORTS


render (Trigger)
Enable pointer lock (Number:

<i>boolean</i>

)

<p>hide and lock mouse cursor on the canvas</p>

Height (Number)

<p>height of camera placement on Character body</p>

Character Name (String)

<p>Character to attach camera to</p>

Mouse Speed (Number)

<p>mouse look speed</p>

Active (Number:

<i>boolean</i>

)

<p>activate camera view</p>

OUTPUT PORTS


trigger (Trigger)
isLocked (Number)

<p>has the mouse cursor been locked (Boolean)</p>

Mouse Left (Trigger)

<p>mouse left click</p>

Mouse Right (Trigger)

<p>mouse right click</p>

Dir X (Number)

<p>direction of camera on X axis</p>

Dir Y (Number)

<p>direction of camera on Y axis</p>

Dir Z (Number)

<p>direction of camera on Z axis</p>

Rot X (Number)

<p>rotation amount on X axis</p>

Rot Y (Number)

<p>rotation amount on Y axis</p>


Patches using AmmoCharacterFpsCamera

  • Examples
  • Public
  • My Patches

Changelog


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