#How can I make a part orbiting around you even while moving?
1 messages · Page 1 of 1 (latest)
what should I do to create a cframe of orbiting?
First : does your part should try to follow the player, or be really fixed to them, even if they're moving fast ?
Then, let's think to the wanted CFame each instant t (got by tick() ) :
WantedCFrame = HRP.CFrame + Vector3.new(math.cos(Theta)*Radius, 0, math.sin(Theta)*Radius)```
I chose to use tick() because sin and cos are periodical, but you can have your own looping value instead, from 0 to 1