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

AmmoWorld Op

Ops.Physics.Ammo.AmmoWorld


AmmoWorld
Namespace: Ops.Physics.Ammo

Op author: pandur

Test Patches: 1 Test
Uses library: ammo.js (Physics Library)

Simulate physical world


This is the first op in your physics scene setup. Put it down, connect and setup the parameters and then place all other Ammo Physics operators underneath.



Inputs

Update (Trigger)
Simulate (boolean /Number)

stop/start simulation

Auto Remove Inactive (boolean /Number)

Gravity

Gravity X (Number)

gravity pull on X direction

Gravity Y (Number)

gravity pull on Y direction

Gravity Z (Number)

gravity pull on Z direction

Activate All (Trigger)

activate all sleeping objects

Reset (Trigger)

reset the entire simulation

Outputs

next (Trigger)
Total Bodies (Number)

number of bodies inside physics world

debug points (Array)
Bodies Meta (Array)

array of objects in the scene

Collisions (Array)

array of all collisions in the scene

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

cables room character controller example

Open Example In Editor

Patches using AmmoWorld

Changelog


created op
2022-03-12 - pandur
added lib: ammo.js
2022-03-12 - pandur
added core lib: ammoworld
2022-03-12 - pandur
Ops.User.pandur.AmmoWorld renamed to Ops.Dev.AmmoWorld
2022-03-12 - pandur
added lib: ammo.wasm.js
2022-04-05 - stephan
Ops.Dev.AmmoWorld renamed to Ops.Physics.Ammo.AmmoWorld
2022-05-09 - pandur
added collisions output array
2022-09-23 - stephan
featureoption to turn off automatic removal of bodies from inactive cables nodes
2022-12-14 - pandur