Physics: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
mNo edit summary |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Extension|extension_img=Box2d.png|extension_desc=*'''PenguinMod''': Box2D Physics extension created by Griffpatch.
The Physics extension is a port of the [https://box2d.org/ 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<ref>https://youtu.be/3nBQY3oqxX4</ref>▼
▲*'''Turbowarp''': Two dimensional physics. Originally created by griffpatch.}}The Physics extension is a port of the [https://box2d.org/ 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<ref>https://youtu.be/3nBQY3oqxX4</ref>
== Blocks ==
* [[Set stage boundaries to ( )|set stage boundaries to [ ]]]
* [[set gravity to x: () y: ()]]
*[[( gravity y )]]
* [[Please add some|step simulation]]▼
*
* [[disable physics for this sprite]]
* [[set simulation rate to ( )]]
*[[( simulation rate )]]
*
*
*
* [[
*[[( y velocity )]]
* [[Please add some|set friction to [ ]]]▼
* [[
*
*
*[[( angular velocity )]]
*
*[[Fixed?|< fixed? >]]
*[[Set density to ( )|set density to [ ]]]
*[[set density to ( )]]
*
▲* [[Please add some|( gravity y )]]
*
*
*
*
* [[
* [[( list sprites touching ( ) )|( list sprites touching [ ] )]]
* [[
* [[
* [[
*
==See
*https://extensions.turbowarp.org/box2d
*[[3D Physics]]
==References==
<references />
{{ExtensionsNav}}
|
Latest revision as of 23:34, 30 May 2024
Physics | |
---|---|
![]() | |
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