wade.physics.addJoint (jointData)
Adds a joint to the simulationwade.physics.debugDrawJoint (joint, active)
Draw the joint using debug graphicswade.physics.exportScene (stringify)
Exports all joints currently in the joint listwade.physics.getGravity ()
Get the current gravity vectorwade.physics.getJoint (name)
Retrieve a joint object using it's namewade.physics.getPositionIterations ()
Get the current number of iterations for the physics position solver.wade.physics.getTimeStep ()
Get the current time step value for the physics simulationwade.physics.getVelocityIterations ()
Get the current number of iterations for the physics velocity solver.wade.physics.importScene (data, callback)
Imports joints into the scenewade.physics.init (options)
Initialize the physics plugin.wade.physics.isInitialized ()
Check whether the physics engine has been initialized.wade.physics.isRunning ()
Check whether the physics simulation is currently runningwade.physics.isStepping ()
Check whether we are in the middle of a physics stepwade.physics.removeJoint (jointObject)
Removes the provided joint from the simulationwade.physics.serializeJoint (joint)
Serializes this list of joints and returns the resultwade.physics.setGravity (gravity)
Set a new value for gravity (by default gravity is {x:0, y:9.81}wade.physics.setPositionIterations (positionIterations)
Set the number of iterations for the physics position solver. By default this is 4.wade.physics.setTimeStep (timeStep)
Set the time step value for the physics simulation. By default this matches WADE's simulation time step (1/60 seconds)wade.physics.setVelocityIterations (velocityIterations)
Get the current number of iterations ofr the physics velocity solver. By default this is 2.wade.physics.startSimulation ()
Start the physics simulation. Note that the simulation is started automatically when wade.physics.init() is called, so it only makes sense to call this function after a call to stopSimulation().wade.physics.stopSimulation ()
Stop (pause) the physics simulation.