Scrap Mechanic

Scrap Mechanic

Not enough ratings
LiDAR
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
967.622 KB
Sep 11 @ 10:07am
Sep 14 @ 4:24am
2 Change Notes ( view )

Subscribe to download
LiDAR

Description
This mod adds a LiDAR scanner to the game.

It also adds a fully black, un-lightable block to use for building scenes to be explored with the scanner.
5 Comments
Professional edgelord Sep 22 @ 11:33pm 
you could offset the camera and the position of the points so you can only see the lidar effects.
sm.camera.setCameraState(3) -- the camera changes only happen in this state
sm.camera.setCameraState(1) -- reset to default

sm.camera.setPosition(sm.vec3.new(sm.camera.getDefaultPosition().x,sm.camera.getDefaultPosition().y,sm.camera.getDefaultPosition().z - 10000))
sm.camera.setDirection(sm.camera.getDefaultRotation() * sm.vec3.new(0,1,0))
make sure to use sm.camera.getDefaultPosition() when getting the player's position in other parts of the code.
_/Mahorin/_ Sep 17 @ 12:55pm 
noice
Ben Sep 16 @ 8:39am 
peak
VeraDev Sep 11 @ 10:29am 
Leidar
Fagiano0 Sep 11 @ 10:11am 
peak