From BlenderWiki
< Doc:Tutorials | Game Engine | BSoD
[edit] Sensors
- Joystick - Triggers when either a joystick button is pressed or when a joystick is moved along a certain direction (left/right, up/down etc).
- Message - Triggers when a message is received. You can send messages to other objects using a Message Actuator.
- Ray - This will trigger when an object is detected along a certain axis. You can additionally check for the detected object having a certain material or property value.
- Random - Triggers randomly - change seed for different sequence numbers (or use python for real random generator).
- Property - Triggers when a property changes, is between certain min and max values, or is equal or not equal to a certain value.
- Radar - Triggers when an object is detected within a certain range (distance and angle). You can specify a property that the detected object must have.
- Near - Triggers when an object is detected within a certain distance. You can specify a property that the detected object must have.
- Collision - Triggers when the object collides with another object. You can specify a material or a property that the collided object must have to activate the sensor.
- Touch - Triggers when an object is touching another object. You can specify a property that the touched object must have.
- Mouse - Triggers when certain mouse events occur, such as mouse button clicks, mouse movement etc.
- Keyboard - Triggers when a certain key is pressed.
- Always - Triggers every frame.
[edit] Controllers
Controllers are triggered by their attached sensors.
- AND - Runs the connected actuator if ALL of the connecting sensors are triggered.
- OR - Runs the connected actuator if ANY of the connecting sensors are triggered.
- Expression - Evaluates an expression.
- Python - Runs a python script.
[edit] Actuators
If the relevant sensors are triggered, the controller will call the connected actuator(s).
- Visibility - Show and hide the current object.
- Game - Restart and Quit the current level. Can also load a new scene.
- CD - Allows for control over CD music tracks.
- Message - Send a message to all objects, or to a certain object. This message will trigger the Message Sensor.
- Random - Sets a random value into a property of the object.
- Scene - Allows for control over scenes - loading, playing, suspending etc.
This is very useful for showing different scenes, such as a start-up scene or menu. When the user wants to play the actual game, a keyboard sensor (e.g. press Space to play) could be connected to a scene sensor, which would then load up the game scene.
This actuator also allows you to specify what camera to look from, within a 3D scene.
- Edit Object - Allows for control over adding, editing and deleting objects within the scene at run-time. This could be used to fire bullets from a weapon. It also has an object tracking feature.
- Property - Sets the property value of the object (or of another object).
- Sound - Allows you to control sounds from within Blender.
Only sounds that have been loaded into Blender will be accessible.
- Camera - Allows the camera to track an object. The camera can be placed behind the object within a certain distance (Min and Max) and Height.
- IPO - Allows control over playing object animations.
- Constraint - Constrains the object's position.
- Motion - Allows control over the motion of the object. This includes direct positioning and rotating of the object (dLoc and dRot), as well as applying forces to a physical object to move it (Force and Torque).
--Mal_CanDo 17:00, 18 August 2006 (GMT)
Redirects to fix
- BSoD/Introduction to the Game Engine → Doc:Tutorials/Game Engine/BSoD
- BSoD/Introduction to the Game Engine/Creating more complex game levels and interactions → Doc:Tutorials/Game Engine/BSoD/More complex game levels and interactions
- Blender Summer of Documentation → BSoD
- Manual/Manual → Manual



















![[]](/skins/blender/open.png)
