Gravitation platforms for the bge
First I make a single use case (one platform)
always---------Python
then I make it work for each case(many copies of the script)
always------python
then I make it work against all targets in scene.objects:
One item running many platforms
always-------python (using scene.objects each frame)
I then store the list I generate from scene.objects one time
(reducing logic) and use the list to opperate on the whole scene without using scene.objects each frame
always------python (in 1 object for all platforms in the scene)
Attachments
Gravity_platforms.blend (488 KB)