Scrap Mechanic

Scrap Mechanic

LiDAR
5 Comments
Professional edgelord 22 Sep @ 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/_ 17 Sep @ 12:55pm 
noice
Ben 16 Sep @ 8:39am 
peak
VeraDev 11 Sep @ 10:29am 
Leidar
Fagiano0 11 Sep @ 10:11am 
peak