physics

The phsyics library adds support for applying 2D physics to your Nodes.  Support is provided for simulating motion with collisions including collision events.

Summary
physicsThe phsyics library adds support for applying 2D physics to your Nodes.
Functions
physics.addBody
physics.newJoingCreates a physics joint with the given properties.

Functions

physics.addBody

Parameters

fileThe Node to which a physics body shoudl be added.

Returns

nothing

See Also

<physics.addShape>

physics.newJoing

Creates a physics joint with the given properties.

Parameters

radiusthe radius of the circle
The basic visual type for Gemini SK.
Close