Ok so I’m trying to do something like this >
Red is the initial raycast,
Blue is the end position aswell as the normal,
and Yellow are the points where the rocks would appear
I’m trying to make this like so rock impacts happen on pretty much any surface, which I can’t really find a resource for
Unit Circle
have a list of angles around a circle which the offset balls will be
input an angle for math.sine, that will be height offset
input an angle for math.cos, that will be sideways offset.
instance.new attachment, parent it to the launcher, that way, the offset will be relative to the launcher. offset x and y using math stated above, then attachment.position.z should be raycastresult.distance.
Finally, set your rocks cframe to attachment.worldcframe