From: | Ralf Berkvens |
Date: | 19 Sep 2000 at 11:05:37 |
Subject: | Re: d.c. motor simulation |
> Hi David & Anton,
>
> --- Anton Reinauer <ants@paradise.net.nz> wrote:
I haven't followed this discussion, but i'm guessing you're trying to
simulate those cars-on-tracks thignies which keep flying off at the
corners if you go too fast :)
if so, then rotation is easy, just multiply your speed by the sine of the
angle your car is turning (ie, if your wheels are at 5 degrees from center,
now i'm no math wiz :) so it could be you need the cosine (cos) instead,
anyway you need the one where function(90 degrees) = 0
Not sure this works accurately, or well at all, but it's the way i would
start.
Ralf
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie