Folks, could you please recommend how to implement a thick laser beam which moves between points with some fast velocity but not instantly. I was thinking of two possible options:
1) Create a sensor with a rectangular shape. Extend somehow the shape every time step using the beam velocity. I'm not sure if it's a good practice to change a fixture every time step.
2) Use ray casting. Cast several rays in order to simulate thickness of the beam. However since, as far as I know, ray casting happens instantly this doesn't fit me quite well.
What do you think about it?
1) Create a sensor with a rectangular shape. Extend somehow the shape every time step using the beam velocity. I'm not sure if it's a good practice to change a fixture every time step.
2) Use ray casting. Cast several rays in order to simulate thickness of the beam. However since, as far as I know, ray casting happens instantly this doesn't fit me quite well.
What do you think about it?