v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
19
doc/lua/physics.md
Normal file
19
doc/lua/physics.md
Normal file
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue