W
W
Wadim_wadim20002020-06-11 15:21:37
Game development
Wadim_wadim2000, 2020-06-11 15:21:37

And how are flying bullets drawn in shooters?

And how are flying bullets drawn in shooters? Basically, shooting in games is done by raycast, but in some games (for example, a stalker) a bullet can be seen in flight. Make bullets objects at high speed? But this is how they sometimes pass through colliders (in unity).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor Bomberow, 2020-06-11
@Wadim_wadim2000

As gamedis says, so be it.
Stalker needed a ricochet mechanic, so a mesh was drawn for the bullet, which was calculated in the physics engine. For the Stalker, this is important, because the environment may contain anomalies that may or may not change the trajectory of the bullet. Moreover, bullets can be stopped in flight by a Burer a la Matrix. And it is important for the game that the player can see it all .
This was also important in Stalker's multiplayer.
But in eSports - the game is not about that, and bullets are usually not drawn, only the effects of a bullet in flight are drawn, if necessary. These effects will need to be made more detailed and beautiful if time dilation mechanics are used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question