Shoot a bullet in the direction of the mouse with linear trajectory

Thank you so much. Its really help me right now. But maybe, it will be very laggy on mobile devices, but then I will try to use Vector Force. Anyway, it helped me now. Thanks!!!

2 Likes

Pardon my late and a bit of a lack luster response, but there are a lot of videos about this.

The main problem with most of them is that they take the client input, send it to the server, and then replicate the bullet to everyone, leading to the bullet to lag behind.

The right idea should be the client firing from stored client data and then replicating it to the server to other clients to feel responsive. Link to video

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.