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)

name of this physics body

Parameters

Mass (Number)

weight of object, 0 makes a static solid

Friction (Number)

friction of object surface

Rolling Friction (Number)

influence roll of object after collision

Restitution (Number)

influence velocity of object after collision (bounciness)

Shape

Shape index (Number: integer)

select shape of collision cage

Geometry (Object:geometry)

required when using Convex Hull shape

Simplify Max Triangles (Number: integer)

simplify generated convex hull

Radius (Number)

radius of spherical object

Size X (Number)

size on X axis

Size Y (Number)

size on Y axis

Size Z (Number)

size on Z axis

Array

Positions (Array)
Append Index to name (Number: boolean)

Flags

Never Deactivate (Number: boolean)

never put object to sleep

Ghost Object (Number: boolean)

object is not solid, reports collision when intersecting with other objects

Active (Number: boolean)
Reset (Trigger)

reset entire object

Activate (Trigger)

wake up object

OUTPUT PORTS


next (Trigger)
Ray Hit (booleanNumber)

is Cast Ray detected

Transformed (Trigger)

connect to geometry objects to automatically resize with cage


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