Changes between Version 22 and Version 23 of PySoy Primer/Part1
- Timestamp:
- 11/17/12 20:08:54 (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PySoy Primer/Part1
v22 v23 31 31 For 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. 32 32 {{{ 33 cube = soy.bodies.Box(sce )33 cube = soy.bodies.Box(scene) 34 34 cube.position = soy.atoms.Position((0, 0, 0)) 35 35 cube.size = soy.atoms.Size((1,1,1))
