Physics: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Extension|extension_img=<gallery>
{{Extension|extension_img=Box2d.png|extension_desc=*'''PenguinMod''': Box2D Physics extension created by Griffpatch.
Physics.png|PenguinMod
Box2d turbo.png|Turbowarp
</gallery>|extension_desc=*'''PenguinMod''': Box2D Physics extension created by Griffpatch.


*'''Turbowarp''': Two dimensional physics. Originally created by griffpatch.}}The Physics extension is a port of the [https://box2d.org/ Box2D physics engine.]
*'''Turbowarp''': Two dimensional physics. Originally created by griffpatch.}}The Physics extension is a port of the [https://box2d.org/ Box2D physics engine.]
Line 11: Line 8:
* [[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 )]]
* [[Enable for ( ) mode ( )|enable for [ ] mode [ ]]]
* [[step simulation]]
*[[( gravity y )]]
* [[Go to x: ( ) y: ( ) ( )|go to x: ( ) y: ( ) [ ]]]
*[[Enable for ( ) mode ( )|enable for [ ] mode [ ]]]
* [[Set velocity to sx: ( ) sy: ( )]]
* [[disable physics for this sprite]]
*[[step simulation]]
* [[change velocity to sx: ( ) sy: ( )]]
* [[set simulation rate to ( )]]
*[[( simulation rate )]]
*[[Go to x: ( ) y: ( ) ( )|go to x: ( ) y: ( ) [ ]]]
*[[Set velocity to sx: ( ) sy: ( )]]
*[[change velocity to sx: ( ) sy: ( )]]
* [[( x velocity )]]
*[[( y velocity )]]
* [[push with force ( ) in direction ( )]]
* [[push with force ( ) in direction ( )]]
* [[spin with force ( )]]
*[[spin with force ( )]]
* [[set angular velocity to ( )]]
*[[set angular velocity to ( )]]
*[[( angular velocity )]]
* [[Set fixed to ( )|set fixed to [ ]]]
* [[Set density to ( )|set density to [ ]]]
*[[Set fixed to ( )|set fixed to [ ]]]
* [[set density to ( )]]
*[[Fixed?|< fixed? >]]
* [[Set friction to ( )|set friction to [ ]]]
*[[Set density to ( )|set density to [ ]]]
* [[Please add some|set friction to ( )]]
*[[set density to ( )]]
*[[( density )]]
* [[Set bounce to ( )|set bounce to [ ]]]
* [[set bounce to ( )]]
*[[Set friction to ( )|set friction to [ ]]]
*[[Please add some|set friction to ( )]]
*[[( friction )]]
*[[Set bounce to ( )|set bounce to [ ]]]
*[[set bounce to ( )]]
* [[( bounce )]]
* [[( list sprites touching ( ) )|( list sprites touching [ ] )]]
* [[set scroll to x: ( ) y: ( )]]
* [[set scroll to x: ( ) y: ( )]]
* [[change scroll by x: ( ) y : ( )]]
* [[change scroll by x: ( ) y : ( )]]

== Variables and Booleans ==

* [[( gravity x )]]
* [[( gravity y )]]
* [[( x velocity )]]
* [[( y velocity )]]
* [[( angular velocity )]]
* [[Fixed?|< fixed? >]]
* [[( density )]]
* [[( friction )]]
* [[( bounce )]]
* [[( list sprites touching ( ) )|( list sprites touching [ ] )]]
* [[( x scroll )]]
* [[( x scroll )]]
* [[( y scroll )]]
*[[( y scroll )]]

== Documentation ==
[[File:Box2d turbodocs.png|thumb|350x350px|A screenshot of the documentation page.]]
There exists a documentation page for the extension.

But it has since become outdated.<ref>https://extensions.turbowarp.org/box2d</ref>







== References ==
==See Also==
*https://extensions.turbowarp.org/box2d
*[[3D Physics]]
==References==
<references />
<references />
{{ExtensionsNav}}
[[Category:Extensions]]

Latest revision as of 23:34, 30 May 2024

Physics
Caption
Description *PenguinMod: Box2D Physics extension created by Griffpatch.
  • Turbowarp: Two dimensional physics. Originally created by griffpatch.
Link fortnite.com
Added fortnite...

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

See Also

References

ve Extension Navigation
Vanilla Music  · Pen  · Animated Text^  · Video Sensing  · Text to Speech  · Translate  · Makey Makey  · micro:bit  · LEGO MINDSTORMS EV3  · LEGO BOOST  · LEGO Education WeDo 2.0  · Go Direct Force & Acceleration
TurboWarp Files  · Physics  · Clones+  · Skins  · HTTP  · CloudLink  · McUtils  · GamePad  · Clipping and Blending  · Pointer Lock  · Mouse Cursor  · TurboWarp Blocks
PenguinMod Stage Camera  · Sound Systems  · Sound Waves  · Motion  · Events  · Control  · Sensing  · Operators  · JSON  · Custom Styles  · Tweening  · Tailgating  · Tile Grids  · Canvas Effects  · Multiple Timers  · Temporary Variables  · Runtime Modifications  · Font Manager  · Storage  · CloudLink  · Scripts  · Pang API  · 3D Math  · Extra Mathematics  · Random Utilities  · LZ Compress  · Prism  · Odd Messages  · PenguinGPT  · HTML iframe Elements  · Color Picker  · Colors  · All Menus  · Labels  · Perlin Noise  · CATS  · Printing  · Scratch Authentication  · JavaScript  · Easy Save*  · XML*  · Debugging*  · 3D Extension*  · 3D Physics*  · 3D Virtual Reality*  · Interfaces*  · Packager Applications*  · Inline Blocks*  · Pathfinding*  · Animation*  · Virtual Reality*  · PenguinMod Extra Extensions
Former Files  · Clone Communication  · PenguinMod Permissions  · Website Request Blocks  · OOP  · HTML Canvas  · Unite  · Advanced Text*
April Fools Test Extension  · Christmas  · an amazing extension  · Epic utilities  · image blocks  · fire in the hole  · the doo doo extension
Key
*: Work in progress or never released  · ^: Scratch Lab