- Home /
How to compensate 100 millisecond delay from Laser Gun to Mouse click
I make sim shooters which use laser tracking equipment and software, so my problem is that the laser gun has a 100 millisecond delay from the laser gun to mouse click which is the raycast. So it makes it a little difficult when shooting moving targets as the lag will cause this to register the shot a few frames after. is there a way I can compensate this lag with a trailing hit collider with some code detecting where the transform of the collider was 100milseconds ago?
any help would be much appreciated!
Thanks
Comment
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Multiple Cars not working 1 Answer
Can't get a laser working properly. 2 Answers
3D Space Shooter Firing Projectiles 0 Answers
Particle memory overhead 1 Answer