Lab Report Week 7 : Python Blender stuff

Objective: Familiarize myself with python and its use within blender

Material: Professor Baker, Blenders Python Console, Blender API documentation.

Method:

  1. Listen to Professor Bakers lecture
  2. Open the API doc
  3. Identify the how the sensors, controllers, and actuators are added
  4. Identify some key terms

Results:  I can now Identify how Controllers, sensors, and actuators and how they are attached to each other using python.

  • globalDict- this is where you could store stuff as your loading different files
  • functions – work very similar to sensors controllers and actuators
  • parameter – input of a function
  • return type – is the output of the function, (…bge.logic.getCurrentScene()…), this is the kind of thing im going to get back according to what I ask it to give me
  • Constants – Are set values that do not change

Discussion: This was a good basics session, I dont feel I know how to use it but, I think that after a little use I will feel more comfortable using it, but right now I feel a little hesitant using python.

This entry was posted in Uncategorized. Bookmark the permalink.