diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-20 14:33:09 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-20 14:33:09 +1000 |
commit | 6352e8e3196f78388b6c771073f9e03eaa612673 (patch) | |
tree | e23772f79a7fbc41bc9108951e9e136857484bf4 /doc/lua/physics.md | |
parent | 6741a057e5639280d85d0f88ba26f000baa58f61 (diff) |
everything everywhere
all at once
Diffstat (limited to 'doc/lua/physics.md')
-rw-r--r-- | doc/lua/physics.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/lua/physics.md b/doc/lua/physics.md new file mode 100644 index 0000000..b5a68d8 --- /dev/null +++ b/doc/lua/physics.md @@ -0,0 +1,19 @@ +The physics table is available to objects and used to control any collisions or force regions configured on those objects. + +--- + +#### `void` physics.setForceEnabled(`String` force, `bool` enabled) + +Enables or disables the specified physics force region. + +--- + +#### `void` physics.setCollisionPosition(`String` collision, `Vec2F` position) + +Moves the specified physics collision region to the specified position. + +--- + +#### `void` physics.setCollisionEnabled(`String` collision, `bool` enabled) + +Enables or disables the specified physics collision region. |