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

Class RaySensor


The Ray Sensor Object

Sensor to detect intersections with a ray emanating from the current object.

(no references to this struct found)

Instance Variables [hide private]
enum axis
Specify along which axis the ray is cast.
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)
float in [0.01, 10000] range
Sense objects no farther than this distance.
enum ray_type
Toggle collision on material or property.
enum (readonly) type
Type in... (Inherited from bpy.types.Sensor)
boolean x_ray_mode
Toggle X-Ray option (see through objects that don't have the property).
Instance Variable Details [hide private]

axis

Specify along which axis the ray is cast. in...
  • XAXIS
  • YAXIS
  • ZAXIS
  • NEGXAXIS
  • NEGYAXIS
  • NEGZAXIS
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

ray_type

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