Does anyone know this was made?

More specifically, I wanna know how they made the beam perfectly fit the trajectory of the projectile, or how they made the projectile perfectly fit the beam.

https://gyazo.com/25aa95e287029ea19264acbb1b24ffd9

2 Likes

Well, if you’re raycasting to find the position of where the object lands, you could just use that exact same function to create the beam.

In this case this just looks like a parabolic curve function. Just make a curve function and use the same inputs for the raycast for the beam.

If they’re using :ApplyImpulse then it’s a bit more difficult because that would require calculating the gravity and the force required to move the object; which is why I would just go with the first option of following a pre-calculated route.

1 Like

Same way they calculated how to throw the object, just doing the same math on the client for displaying a Billboard in many different parts I guess haha.