Physics: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(new update guys) |
(see also insted of documentation) |
||
Line 44: | Line 44: | ||
*[[( y scroll )]] |
*[[( y scroll )]] |
||
== |
==See Also== |
||
⚫ | |||
[[File:Box2d turbodocs.png|thumb|350x350px|A screenshot of the documentation page.]] |
|||
There exists a documentation page for the extension. |
|||
⚫ | |||
==References== |
==References== |
||
<references /> |
<references /> |
Revision as of 00:39, 9 January 2024
Physics | |
---|---|
[[File:
| |
Description | *PenguinMod: Box2D Physics extension created by Griffpatch.
|
The Physics extension is a port of the Box2D physics engine.
It was originally ported by Griffpatch and then added to Turbowarp. It was originally shown off on his Youtube channel on February 14th, 2016[1]
Blocks
- set stage boundaries to [ ]
- set gravity to x: () y: ()
- gravity x
- gravity y
- enable for [ ] mode [ ]
- disable physics for this sprite
- step simulation
- set simulation rate to ( )
- ( simulation rate )
- go to x: ( ) y: ( ) [ ]
- Set velocity to sx: ( ) sy: ( )
- change velocity to sx: ( ) sy: ( )
- ( x velocity )
- ( y velocity )
- push with force ( ) in direction ( )
- spin with force ( )
- set angular velocity to ( )
- ( angular velocity )
- set fixed to [ ]
- < fixed? >
- set density to [ ]
- set density to ( )
- ( density )
- set friction to [ ]
- set friction to ( )
- ( friction )
- set bounce to [ ]
- set bounce to ( )
- ( bounce )
- ( list sprites touching [ ] )
- set scroll to x: ( ) y: ( )
- change scroll by x: ( ) y : ( )
- x scroll
- y scroll
See Also
https://extensions.turbowarp.org/box2d