Hello, I have made a blood system and it works by cloning parts and giving them random velocity and the parts use the velocity to get the direction and then fire a ray with that direction every heartbeat.
And I have made a RayIgnore tag that encompasses all the parts that should be ignored by the ray.
But I don’t know how CollectionService:GetTagged()
works on the background. Like is it bad for performance? Because :GetTagged() will be ran every heartbeat.
Is this bad for performance?