AmmoBody Op

AmmoBody

Create a physics body/collision shape using a any geometry or select a shape



Full Name
  • Ops.Extension.AmmoPhysics.AmmoBody
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by TeamTest Patches


INPUT PORTS


Update (Trigger)
Name (String)

<p>name of this physics body</p>

Parameters

Mass (Number)

<p>weight of object, 0 makes a static solid</p>

Friction (Number)

<p>friction of object surface</p>

Rolling Friction (Number)

<p>influence roll of object after collision</p>

Restitution (Number)

<p>influence velocity of object after collision (bounciness)</p>

Shape

Shape index (Number:

<i>integer</i>

)

<p>select shape of collision cage</p>

Geometry (Object:geometry)

<p>required when using Convex Hull shape</p>

Simplify Max Triangles (Number:

<i>integer</i>

)

<p>simplify generated convex hull </p>

Radius (Number)

<p>radius of spherical object</p>

Size X (Number)

<p>size on X axis</p>

Size Y (Number)

<p>size on Y axis</p>

Size Z (Number)

<p>size on Z axis</p>

Array

Positions (Array)
Append Index to name (Number:

<i>boolean</i>

)

Flags

Never Deactivate (Number:

<i>boolean</i>

)

<p>never put object to sleep</p>

Ghost Object (Number:

<i>boolean</i>

)

<p>object is not solid, reports collision when intersecting with other objects</p>

Active (Number:

<i>boolean</i>

)

Reset (Trigger)

<p>reset entire object</p>

Activate (Trigger)

<p>wake up object</p>

OUTPUT PORTS


next (Trigger)
Ray Hit (

<i>boolean</i>

Number)

<p>is Cast Ray detected</p>

Transformed (Trigger)

<p>connect to geometry objects to automatically resize with cage</p>


Patches using AmmoBody

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-03-12 18:50
Ops.User.pandur.AmmoBody renamed to Ops.Dev.AmmoBodyuser avatarpandur - 2022-03-12 21:33
Ops.Dev.AmmoBody renamed to Ops.Physics.Ammo.AmmoBodyuser avatarpandur - 2022-05-09 11:50
change default radius to 0.5 to reflect default of sphereuser avatarstephan - 2022-07-05 11:27
renameOps.Physics.Ammo.AmmoBody renamed to Ops.Extension.AmmoPhysics.AmmoBodyuser avatarpandur - 2023-09-14 09:39