Home | Trees | Index | Help |
|
---|
Module KX_RaySensor :: Class KX_RaySensor |
|
SCA_ILogicBrick
--+ |SCA_ISensor
--+ | KX_RaySensor
Method Summary | |
---|---|
list [nx, ny, nz] |
Returns the normal (in worldcoordinates) of the object at the location where the object was hit by this ray. |
KX_GameObject |
Returns the game object that was hit by this ray. |
list [x, y, z] |
Returns the position (in worldcoordinates) where the object was hit by this ray. |
list [dx, dy, dz] |
Returns the direction from the ray (in worldcoordinates) |
Inherited from SCA_ISensor | |
integer |
The frequency for pulse mode sensors. |
True if this sensor activates on negative events. | |
True if the sensor is in negative pulse mode. | |
True if the sensor is in positive pulse mode. | |
True if this sensor brick has been activated. | |
Sets the frequency for pulse mode sensors. | |
Sets if this sensor activates on positive or negative events. | |
Sets negative pulse mode. | |
Sets positive pulse mode. | |
Inherited from SCA_ILogicBrick | |
integer |
Gets the execution priority of this logic brick. |
KX_GameObject
|
Gets the game object associated with this logic brick. |
Sets the priority of this logic brick. |
Method Details |
---|
getHitNormal()Returns the normal (in worldcoordinates) of the object at the location where the object was hit by this ray.
|
getHitObject()Returns the game object that was hit by this ray.
|
getHitPosition()Returns the position (in worldcoordinates) where the object was hit by this ray.
|
getRayDirection()Returns the direction from the ray (in worldcoordinates)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Feb 1 00:12:33 2007 | http://epydoc.sf.net |