Hello,
I am working on a projectile system that handles visuals on client, but hitboxes and other things on server. Currently, I have it setup so there is a value that mimics the position of the projectile, while simultaneously having a ray looping until the magnitude between the two are small enough. However, I feel as though there must be some better way to do this, specifically by cutting out the ray and simply testing if there is an object/player touching the position. I’m 90% sure I can’t simply use regions or collisions for this so I don’t what else could be done.
Building off of this, I also only have it set up for a small point, whereas a projectile part would be more similar to a 3-dimensional plane. So, I would also need to figure out how to get a larger area of positions rather than a point.
I’m not sure if I’m doing anything correctly or if there is a way easier and different way to do this as I’m not very good at this stuff. Also, if my explanation was weird, feel free to ask further questions.
Thank you.