Calculation turning circle radius

Blitz3D Forums/Blitz3D Programming/Calculation turning circle radius

big10p(Posted 2007) [#1]
[edit] Title should be 'calculating' not 'calculation' - I told you it was late! :P

Hello

OK, it's late so I'm going to have a think about this tomorrow, but in the meantime...

Say I have a 2D object that's moving with a constant speed, and a maximum turning angle, is there a way to calculate what the radius of that object's turning circle is?

Cheers.


Who was John Galt?(Posted 2007) [#2]
turn_radius#=(180.0/pi)*speed#/turn_rate#

Turn rate is degrees per unit time. I think that's what you want, and I think it's right but you will have to try it. You have to assume a turn rate to figure a radius.


big10p(Posted 2007) [#3]
That's the fella. Thanks!

A probable solution did hit me last night while lying in bed, but I came up with:
(((360.0 / turn_rate#) * speed#) / Pi) / 2
They equate to the same thing, but yours is more elegant, I think. Cheers.


big10p(Posted 2007) [#4]
.