Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge_types/bge.types.KX_RaySensor.rst
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | .. attribute:: hitPosition | ||||
| :type: list [x, y, z] | :type: list [x, y, z] | ||||
| .. attribute:: hitNormal | .. attribute:: hitNormal | ||||
| The normal (in worldcoordinates) of the object at the location where the object was hit by the ray. (read-only). | 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] | :type: list [x, y, z] | ||||
| .. attribute:: hitMaterial | |||||
| The material of the object in the face hit by the ray. (read-only). | |||||
| :type: string | |||||
| .. attribute:: rayDirection | .. attribute:: rayDirection | ||||
| The direction from the ray (in worldcoordinates). (read-only). | The direction from the ray (in worldcoordinates). (read-only). | ||||
| :type: list [x, y, z] | :type: list [x, y, z] | ||||
| .. attribute:: axis | .. attribute:: axis | ||||
| Show All 11 Lines | |||||