base class — SCA_ISensor
A ray sensor detects the first object in a given direction.
The property the ray is looking for.
Type : | string |
---|
The distance of the ray.
Type : | float |
---|
Whether or not to look for a material (false = property).
Type : | boolean |
---|
Whether or not to use XRay.
Type : | boolean |
---|
The game object that was hit by the ray. (read-only).
Type : | KX_GameObject |
---|
The position (in worldcoordinates) where the object was hit by the ray. (read-only).
Type : | list [x, y, z] |
---|
The normal (in worldcoordinates) of the object at the location where the object was hit by the ray. (read-only).
Type : | list [x, y, z] |
---|
The direction from the ray (in worldcoordinates). (read-only).
Type : | list [x, y, z] |
---|
The axis the ray is pointing on.
Type : | integer from 0 to 5 |
---|