Want a frieking lazer pointer?
BOOM.
Attach a Line Renderer component to the object you have the script below attached to.
(Component> Miscellaneous>Line Renderer)
Code:
function Update () {
var lineRenderer : LineRenderer = GetComponent(LineRenderer);
lineRenderer.useWorldSpace = false;
lineRenderer.SetVertexCount(2);
var hit : RaycastHit;
Physics.Raycast(transform.position,transform.forward,hit);
if(hit.collider){
lineRenderer.SetPosition(1,Vector3(0,0,hit.distance));
}
else{
lineRenderer.SetPosition(1,Vector3(0,0,5000));
}
}
@script RequireComponent(LineRenderer)
Thank 3dDude for the script.Original Source here.
ReplyDeleteLazer 84 Font
Get LAZER 84 Fonts available. Now shipping yourself returned in time with Lazer eighty four. it’s miles designed through the professional artwork director. it’s far a retro-fashion brush font that comes complete with symbols, numbers, and accents. looking suitable and without difficulty to readable.
I would love to play games on Netboom Mod APK 2022 app.
ReplyDelete