Physics

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, 2016https://youtu.be/3nBQY3oqxX4
== Blocks ==
* set stage boundaries to [ ]
* set gravity to x: () y: ()
*( gravity x )
*( gravity y )
*[[Enable for ( ) mode ( )|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
*3D Physics
==References==