driving on a 1/4 arc then continuing

with the code here:

[lua]
_W = display.contentWidth
_H = display.contentHeight
local points = 40
test2={}
text = {}
for i = 1, points do
local angle = (i+points - 11) * (2*math.pi/points)
test2[i] = display.newRect(0,0,15,15)
test2[i]:setFillColor(0,0,255)
test2[i].alpha= 0.25
group:insert(test2[i])

test2[i]:setReferencePoint(display.CenterReferencePoint)
test2[i].x = _W/2 + math.cos(angle)*100
test2[i].y = _H/2 + math.sin(angle)*100
end
test2[1]:setFillColor(245,12,134)
[/lua]

I’ve managed to create a successful circle with 40 points.

My question to you helpers is, is there a way to replicate a turning arc of a car just by approaching the above created circle, rotate along the points I’ve created and drive off after a particular angle has been met, just for example turning right requires to go close to a 90 degree turn ? [import]uid: 87730 topic_id: 36455 reply_id: 336455[/import]