Laser#

class LIDAR.Laser()#

Warning

Deprecated. Use SpaceCenter.raycastDistance() instead.

A LiDAR. Obtained by calling LIDAR.laser().

Laser.getPart()#

Get the part containing this LiDAR.

Property:

Read-only, cannot be set

Return type:

SpaceCenter.Part

Laser.getCloud()#

Get the point cloud from the LiDAR. Returns an empty list on failure.

Property:

Read-only, cannot be set

Return type:

Array of number