Activity Team/Modifing an Activity: Difference between revisions
Tonyforster (talk | contribs) |
Fixed links. |
||
| Line 426: | Line 426: | ||
==Modifying Physics== | ==Modifying Physics== | ||
===Changing block properties - density=== | ===Changing block properties - density=== | ||
[ | [[Activities/Physics|Physics]] is based on Box2D v2.0.2 , there is good [http://www.box2d.org/manual.html#d0e1468 documentation]. It is 'wrapped' in a python wrapper called [http://elements.linuxuser.at/ elements] which is then 'Sugarised' to make Physics. It was originally on the [http://wiki.laptop.org/go/Physics_(activity) OLPC wiki] but has now migrated to the [[Activities/Physics|Sugarlabs wiki]]. | ||
You will find the 'Sugarising' code at <i>/home/olpc/Activities/Physics.activity</i> directory and the Elements code in the <i>elements</i> subdirectory and the Box2D code in a further <i>box2d</i> subdirectory. | You will find the 'Sugarising' code at <i>/home/olpc/Activities/Physics.activity</i> directory and the Elements code in the <i>elements</i> subdirectory and the Box2D code in a further <i>box2d</i> subdirectory. | ||