So my programming class has spent one week getting a handle on Blender, another on Python, and this week we bring the two together. The problem is, I’m having trouble thinking of a few simple rules of thumb for when one should use Python and when one should use logic bricks. This is what I’ve come up with:
- Direct cause-and-effect. If one thing happens, another thing must happen next.
- Simple interactions between objects. For example, rays, collisions, etc.
- There is complex logic deciding what happens next. E.g. when the character stands on a coloured tiles, they will jump higher or lower. The tile contains information about how the jump will be effected.
- Changing the property of another object directly.
- Using resources outside of blender. Network play, dynamic textures, etc.
Remember, this is a beginner class and there are many topics we haven’t touched yet (such as states). That and it is an ESL classroom.
Are there any other ideas you would add, or anything that you think I have wrong?