Physics: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
see also insted of documentation |
No edit summary |
||
Line 11: | Line 11: | ||
* [[Set stage boundaries to ( )|set stage boundaries to [ ]]] |
* [[Set stage boundaries to ( )|set stage boundaries to [ ]]] |
||
* [[set gravity to x: () y: ()]] |
* [[set gravity to x: () y: ()]] |
||
* |
*[[( gravity x )]] |
||
*[[( gravity y )]] |
*[[( gravity y )]] |
||
*[[Enable for ( ) mode ( )|enable for [ ] mode [ ]]] |
*[[Enable for ( ) mode ( )|enable for [ ] mode [ ]]] |
||
Line 48: | Line 48: | ||
==References== |
==References== |
||
<references /> |
<references /> |
||
{{ExtensionsNav}} |
|||
[[Category:Extensions]] |
Revision as of 02:40, 3 February 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