Scene gives access to mostly phun file related functions, like adding or deleting objects.

Variable name bgcolor="#A7C1F2" lol

he center of the world coordinate system. Improves floating point precision.

New function creates a new scene, and resets all scene variables to default
addBox function adds a box
addCircle function adds a circle
addFixjoint function adds a fixate
addGroup function adds a group
addHinge function adds a hinge
addPen function adds a pen
addPlane function adds a plane
addPolygon function adds a complex polygon
addSpring function adds a spring
addWater function adds water
addWidget function adds a window
author string author of the file
description string description of file
title string title of file

For information about the addXXX functions, please look at the phn file specifications

Last modified September 6, 2010 3:23 am
Copyright 2008 Algoryx Simulation