Package bpy :: Module types :: Class CollisionSensor
[hide private]
[frames] | no frames]

Class CollisionSensor


The Collision Sensor Object

Sensor to detect objects colliding with the current object, with more settings than the Touch sensor.

(no references to this struct found)

Instance Variables [hide private]
enum collision_type
Toggle collision on material or property.
int in [0, 10000] frequence
Delay between repeated pulses(in logic tics, 0=no delay). (Inherited from bpy.types.Sensor)
boolean invert
Invert the level(output) of this sensor. (Inherited from bpy.types.Sensor)
boolean level
Level detector, trigger controllers of new states(only applicable upon logic state transition). (Inherited from bpy.types.Sensor)
string material
Only look for Objects with this material.
string name
Sensor name. (Inherited from bpy.types.Sensor)
string property
Only look for Objects with this property.
boolean pulse_false_level
Activate FALSE level triggering (pulse mode). (Inherited from bpy.types.Sensor)
boolean pulse_true_level
Activate TRUE level triggering (pulse mode). (Inherited from bpy.types.Sensor)
enum (readonly) type
Type in... (Inherited from bpy.types.Sensor)
Instance Variable Details [hide private]

collision_type

Toggle collision on material or property. in...
  • PROPERTY
  • MATERIAL
Type:
enum

material

Only look for Objects with this material. (maximum length of 32)
Type:
string

property

Only look for Objects with this property. (maximum length of 32)
Type:
string