Physics: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(13 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.]
[[File:Physics.png|thumb|309x309px|The Physics extension as seen from the extension list.]]
It was originally ported by Griffpatch and then added to Turbowarp. It was originally shown off on his
 
*'''Turbowarp''': Two dimensional physics. Originally created by griffpatch.}}The Physics extension is a port of the [https://box2d.org/ Box2D physics engine.]
Youtube channel on February 14th, 2016<ref>https://youtu.be/3nBQY3oqxX4</ref>
 
== Description ==
 
=== PenguinMod ===
Box2D Physics extension created by Griffpatch.
 
=== Turbowarp ===
Two dimensional physics. Originally created by griffpatch.
 
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 ==
 
* [[PleaseSet addstage someboundaries to ( )|set stage boundaries to [ ]]]
* [[Please add some|set gravity to x: () y: ()]]
* [[Please add some|( gravity yx )]]
* [[Please add some|enable for [ ] mode [ ]]]
*[[( gravity y )]]
* [[Please add some|step simulation]]
* [[PleaseEnable addfor some|go( to) x:mode ( )|enable y:for ([ )] mode [ ]]]
* [[disable physics for this sprite]]
* [[Please add some|Set velocity to sx: ( ) sy: ( )]]
* [[Please add some|step simulation]]
* [[Please add some|change velocity to sx: ( ) sy: ( )]]
* [[set simulation rate to ( )]]
* [[Please add some|push with force ( ) in direction ( )]]
*[[( simulation rate )]]
* [[Please add some|spin with force ( )]]
* [[PleaseGo addto some|setx: angular( velocity) y: ( ) ( )|go to x: ( ) y: ( ) [ ]]]
* [[PleaseSet addvelocity some|setto fixedsx: to( [) sy: ( ])]]
* [[Pleasechange addvelocity some|setto densitysx: to( [) sy: ( ])]]
* [[Please( addx some|set density to (velocity )]]
*[[( y velocity )]]
* [[Please add some|set friction to [ ]]]
* [[Pleasepush addwith some|setforce friction( to) in direction ( )]]
* [[Pleasespin addwith some|setforce bounce to [( ])]]
* [[Pleaseset add some|setangular bouncevelocity to ( )]]
*[[( angular velocity )]]
* [[Please add some|set scroll to x: ( ) y: ( )]]
* [[PleaseSet addfixed some|change scroll by x:to ( )|set yfixed :to ([ )]]]
*[[Fixed?|< fixed? >]]
 
*[[Set density to ( )|set density to [ ]]]
== Variables and Booleans ==
*[[set density to ( )]]
 
* [[Please add some|( gravity xdensity )]]
* [[PleaseSet friction to add( some)|set friction to [ ]]]
* [[Please add some|( gravity y )]]
* [[Please add some|(set xfriction velocityto ( )]]
* [[Please add some|( y velocityfriction )]]
* [[PleaseSet addbounce to some|( angular)|set velocitybounce )to [ ]]]
* [[Pleaseset addbounce some|<to fixed?( >)]]
* [[Please add some|( densitybounce )]]
* [[( list sprites touching ( ) )|( list sprites touching [ ] )]]
* [[Please add some|( friction )]]
* [[Pleaseset addscroll to x: some|( bounce) y: ( )]]
* [[Pleasechange addscroll some|(by listx: sprites( touching) [y ]: ( )]]
* [[Please add some|( x scroll )]]
* [[Please add some|( y scroll )]]
 
==See References Also==
*https://extensions.turbowarp.org/box2d
*[[3D Physics]]
==References==
<references />
{{ExtensionsNav}}