TOKSENSOR_SetLineSensor(Sensor%,PosX#,PosY#,PosZ#,DirX#,DirY#,DirZ) |
Parameters: Sensor% = The sensor's handle PosX# = X component of position of the sensor local to the rigid body PosY# = Y component of position of the sensor local to the rigid body PosZ# = Z component of position of the sensor local to the rigid body DirX# = X component of the end of the sensor's line local to the sensor's position and the rigid body's orientation DirY# = Y component of the end of the sensor's line local to the sensor's position and the rigid body's orientation DirZ = Z component of the end of the sensor's line local to the sensor's position and the rigid body's orientation |
Return value: None |
Description: Sets a sensor's position, direction, and length. |