Re: [tuxracer-devel] Keyboard
Status: Beta
Brought to you by:
jfpatry
From: Peter A. <P....@bi...> - 2000-05-28 15:27:26
|
Jasmin Patry wrote: <snip> > > ^ velocity > | > | > + Tux > / > / > L frictional force > > The magnitude of the frictional force is also increased to reflect the > fact that drag is increased when Tux puts his hand down (so turning does > slow him down, a little bit). Thats neat.... > For sharp turns, you have a few options. You can play with > calc_net_force and change how the steering part works when a sharp turn > is being performed, I am not sure on the physics yet (I've only done first year 'A' level physics so far...) (Please comment and say thats not going to work etc) 1. Tux could stick a leg hard into the snow, and use it a as a pivot. For practical reasons I think the pivot would need to be a lot further out that tux's leg, so this wouldn't look 100% realistic. The physics of this are fine, but I was planning on making it so the pivot could only take a certain force, so if tux was going faster than that the pivot would slip, and tux would lose velocity (due to friction). I can't quite work out the physics of this, despite my best efforts with the ascii art. <snip> The keyboard stuff seems niceley set out so it shouldn't present any difficulties. Thanks for the explanation. Peter Allen |