AmmoCharacter Op

AmmoCharacter

Control and move a character in a physics environment


<p>this OP allows you to create a capsule shaped collision body that will move around a 3D space of an Ammo World scene driven by user input commands. This operator is designed to function in tandem with <a href="/op/Ops.Physics.Ammo.AmmoCharacterFpsCamera">Ops.Physics.Ammo.AmmoCharacterFpsCamera</a> and <a href="/op/Ops.Physics.Ammo.AmmoWorld">Ops.Physics.Ammo.AmmoWorld</a>. </p>


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


INPUT PORTS


Update (Trigger)
Radius (Number)

<p>radius of the capsule collision mesh</p>

View index (Number:

<i>integer</i>

)

<p>1st person or 3rd person mode</p>

Height (Number)

<p>heigh of capsule collision mesh</p>

Mass (Number)

<p>weight of capsule</p>

Name (String)

<p>name of this capsule to be used for collision checking</p>

Activate (Trigger)

<p>wake up this object</p>

Move X+ (Number:

<i>boolean</i>

)

Move X- (Number:

<i>boolean</i>

)

Move Y+ (Number:

<i>boolean</i>

)

Move Y- (Number:

<i>boolean</i>

)

Move Z+ (Number:

<i>boolean</i>

)

Move Z- (Number:

<i>boolean</i>

)

Dir X (Number)

<p>X axis rotation value (from AmmoCharacterFpsCamera for example)</p>

Dir Y (Number)

<p>Y axis ratation value (from AmmoCharacterFpsCamera for example)</p>

Dir Z (Number)

<p>Z axis rotation value (from AmmoCharacterFpsCamera for example)</p>

Reset

Set Pos X (Number)
Set Pos Y (Number)
Set Pos Z (Number)
Reset (Trigger)

<p>reset location</p>

Speed (Number)

<p>speed at which this object will travel on user input booleans</p>

Add Velocity Y (Number)

<p>Y axis velocity impulse, for a jump</p>

OUTPUT PORTS


next (Trigger)
Position X (Number)

<p>current X location of capsule</p>

Position Y (Number)

<p>current Y location of capsule</p>

Position Z (Number)

<p>current Z location of capsule</p>

Transformed (Trigger)

<p>resize meshes underneath to dimensions of this object</p>


Patches using AmmoCharacter

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-03-14 19:21
Ops.User.pandur.AmmoCharacter renamed to Ops.Dev.AmmoCharacteruser avatarpandur - 2022-03-14 19:39
Ops.Dev.AmmoCharacter renamed to Ops.Physics.Ammo.AmmoCharacteruser avatarpandur - 2022-05-31 17:18
renameOps.Physics.Ammo.AmmoCharacter renamed to Ops.Extension.AmmoPhysics.AmmoCharacteruser avatarpandur - 2023-09-14 09:38