beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

AmmoBody Op

Ops.Physics.Ammo.AmmoBody


AmmoBody
Namespace: Ops.Physics.Ammo

Op author: pandur

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


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

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 (integer /Number)

select shape of collision cage


Geometry (Object)

required when using Convex Hull shape


Simplify Max Triangles (integer /Number)

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


Flags

Never Deactivate (boolean /Number)

never put object to sleep


Ghost Object (boolean /Number)

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


Active (boolean /Number)

Reset (Trigger)

reset entire object


Activate (Trigger)

wake up object


Outputs

next (Trigger)

Ray Hit (Number)

is Cast Ray detected


Transformed (Trigger)

connect to geometry objects to automatically resize with cage


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

AmmoBodyCollision Example

Open Example In Editor


Patches using AmmoBody

Changelog


created op
2022-03-12 - pandur

Ops.User.pandur.AmmoBody renamed to Ops.Dev.AmmoBody
2022-03-12 - pandur

Ops.Dev.AmmoBody renamed to Ops.Physics.Ammo.AmmoBody
2022-05-09 - pandur