AmmoCharacterFpsCamera Op
First person camera to use with AmmoCharacter
Summary (oneliner)
<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>
- Ops.Extension.AmmoPhysics.AmmoCharacterFpsCamera
- Extension Op - Visible to all users
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch cables room character controller example
INPUT PORTS
<i>boolean</i>
)<p>hide and lock mouse cursor on the canvas</p>
<p>height of camera placement on Character body</p>
<p>Character to attach camera to</p>
<p>mouse look speed</p>
<i>boolean</i>
)<p>activate camera view</p>
OUTPUT PORTS
<p>has the mouse cursor been locked (Boolean)</p>
<p>mouse left click</p>
<p>mouse right click</p>
<p>direction of camera on X axis</p>
<p>direction of camera on Y axis</p>
<p>direction of camera on Z axis</p>
<p>rotation amount on X axis</p>
<p>rotation amount on Y axis</p>
Patches using AmmoCharacterFpsCamera
Changelog
created op | pandur - 2022-03-17 17:59 | |
Ops.User.pandur.AmmoCharacterCamera renamed to Ops.Dev.AmmoCharacterCamera | pandur - 2022-03-17 19:27 | |
Ops.Dev.AmmoCharacterCamera renamed to Ops.Physics.Ammo.AmmoCharacterCamera | pandur - 2022-05-31 17:19 | |
Ops.Physics.Ammo.AmmoCharacterCamera renamed to Ops.Physics.Ammo.AmmoCharacterFpsCamera | pandur - 2022-06-07 07:31 | |
rename | Ops.Physics.Ammo.AmmoCharacterFpsCamera renamed to Ops.Extension.AmmoPhysics.AmmoCharacterFpsCamera | pandur - 2023-09-14 09:37 |