Changes between Version 22 and Version 23 of PySoy Primer/Part1


Ignore:
Timestamp:
11/17/12 20:08:54 (20 months ago)
Author:
bhlegm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PySoy Primer/Part1

    v22 v23  
    3131For now, we will place the cube in the center of the window.  This is soy.atoms.Position((0, 0, 0)).  The parameters of Position represent x, y, and z axes respectively.  We set the size to 1 unit of length, width, and thickness. 
    3232{{{ 
    33 cube = soy.bodies.Box(sce) 
     33cube = soy.bodies.Box(scene) 
    3434cube.position = soy.atoms.Position((0, 0, 0)) 
    3535cube.size = soy.atoms.Size((1,1,1))