# Math Help - Calculate the starting point of my vector in relation to COS ???

1. ## Calculate the starting point of my vector in relation to COS ???

Hi im making a game and I am struggling to get the maths right for a function im writing to move a object/vector around another object/vector in a circular movement. I have the function working ok except for one thing, which is the correct value to set my increment variable to start my circular movement.

Let me show you the function and it should make more sense.
Code:
  local radius = 140   -- Radius of the circle
local cosCounter = 0  -- starting point of the cosCounter

local spinAround = function(self,tDelta,targetY,targetX)

end