Show Red Dot Where Ever The Gun Is Pointing?

How would I go about making a red dot appear where ever my gun is pointing? I don’t mean a red line going on and on until it collides with something, I mean just where ever the gun is pointing the closest thing in front of the gun it shows the red dot on it.

I found another, easier, way to create a red dot which I didn’t think of yesterday. You could use a very narrow, red spotlight with a very high range and intensity. Just set the spot angle to 1 and the intensity to 8, this creates the effect of a red laserdot :slight_smile:

Maybe you could perform a raycast from the gun and instantiate a projector in front of the first object it hits, projecting a red dot on it? Can't try it out at the moment, but it's the first way I would think of when trying something like this.

You can use raycast, and then just create a red dot when it hits
Something like this

var hit : RaycastHit;
if ( Physics.Raycast( Gun.transform.position, Gun.transform.forward, hit ) ) {
Instantiate( RedDotPrefab, hit.point, Quaternion.LookRotation( hit.normal ) );

Does the red dot sight means a “red dot laser sight”?
A red dot laser sight is able to project an extremely bright red dot on shooting targets.

thanks for spotlight suggestion
works fine after changing its texture