Make sure that your GetPointOnCircle function is this
local function GetPointOnCircle(CircleRadius, Degrees)
return Vector3.new(math.cos(math.rad(Degrees)) * CircleRadius, 0, math.sin(math.rad(Degrees)) * CircleRadius)
end
Try printing the return value to see if it’s any different each time (something like this)
local function GetPointOnCircle(CircleRadius, Degrees)
print(CircleRadius, Degrees)
return Vector3.new(math.cos(math.rad(Degrees)) * CircleRadius, 0, math.sin(math.rad(Degrees)) * CircleRadius)
end
Hey, Overhash.
I know this is over 1 year later, but I was wondering, if you know, how i’d get the circle to start in the back of my player, and not on the side, since it kinda triggers my ocd, that one side has more pets, than the other, when you have an uneven amount of pets. I’d like it to start in the back of my character, so that if the amount is uneven, the front will have more pets.
So, do you have any idea, how I’d change the starting point or just overall rotation of this circle?
Well the entire reason the pets circle around your character in the first place is because you’re positioning them around your HumanoidRootPart I assume. So just position it a little ways away from the Humanoid Root Part