Hey. Tell me, please, how to make so that when firing a weapon, a short beam of light flew at the target?
Link to the project: https://playcanvas.com/editor/scene/678268
Hey. Tell me, please, how to make so that when firing a weapon, a short beam of light flew at the target?
Link to the project: https://playcanvas.com/editor/scene/678268
I solved the problem. When shooting, it is necessary to create the entity of a bullet, the model of which can be any (in my case, a laser model).