Race Sim Central
Rec.Autos.Simulators Archive

Implenting weight transfer

6 posts by 3 people · 30 Oct 2001 16:40 UTC - 01 Nov 2001 16:34 UTC

MothaBrain 30 Oct 2001 16:40 UTC#155269
Hi! I'm currently developing a racing game with a friend. It's already working fine, but I've still a small problem that is about weight transfer. I know how it works in car physics but how can I implent it in my game code? I don't know where I should place the code or how it might look like. Could you please describe an appproach? Thanks. Robert http://www.moonbyte.de
Are you using some kind of rigid body system? If so the weight transfer should fall out for free. If not how are you handling the mass of the car etc. "MothaBrain" <[email hidden]> wrote in message news:[email hidden]...
Quoted text (14 lines)> Hi! > > I'm currently developing a racing game with a friend. It's already > working fine, but I've still a small problem that is about weight > transfer. > I know how it works in car physics but how can I implent it in my game > code? I don't know where I should place the code or how it might look > like. > Could you please describe an appproach? > > Thanks. > > Robert > http://www.moonbyte.de
On 31 Oct 2001 05:33:27 -0800, [email hidden] (MothaBrain) wrote: >Hi! > >Yes, I'm using a rigid body system and I'm happy to hear not to have >more work ;) >I haven't implented suspension to the cars yet, so I probably couldn't >see any weight transfer effects :) Well, no suspensions are the same as infinitely stiff suspensions, so you should. You need a CG, center of gravity, and if you apply the forces that make your car go forward, if it's not applied at the CG height, a moment (pitching moment) will enter your rigid body. This tries to flip (pitch) the car (rigid body). The ratio of the forces keeping the car straight is your weight transfer, but indeed, it won't be coded as explicitly as that. All depends whether your rigid bodies can rotate. Probably can. Ruud van Gaal Free car sim : http://www.marketgraph.nl/gallery/racer/ Pencil art : http://www.marketgraph.nl/gallery/
Well, I think I should implent suspensions soon ;) The wheel collision detection doesn't work right yet, so I skipped the susp prob for the first time. Right now my cars are only handled as (rotating) obboxes. BTW Ruud, I like your site, nice content :)
On 1 Nov 2001 07:26:45 -0800, [email hidden] (MothaBrain) wrote: >Well, I think I should implent suspensions soon ;) >The wheel collision detection doesn't work right yet, so >I skipped the susp prob for the first time. >Right now my cars are only handled as (rotating) obboxes. > >BTW Ruud, I like your site, nice content :) Thanks, and good luck. :) Ruud van Gaal Free car sim : http://www.marketgraph.nl/gallery/racer/ Pencil art : http://www.marketgraph.nl/gallery/

Sponsors

Affiliate Links

Sim Gaming Expo MOZA Racing Sim-Lab Fanatec TrakRacer Asetek Internet Privacy From NordVPN Dreamhost Capital One Credit Card Application Fanatical CDKeys Amazon Amazon UK Project Motor Racing iRacing Get your racing gloves, boots and more from Demon Tweeks. Enlist at Roberts Space Industries, developers of Star Citizen and Squadron 42


Back from the ashes since July, 2019. First created in 2001 with the merger of Legends Central (founded 1999) and simracing.dk.

A site by a sort of sim racer, for sim racers, about racing sims. News and information on both modern and historic sim racing software titles.

All products and licenses property of their respective owners.


Facebook Threads Bluesky Twitter Mastodon Instagram YouTube Tiktok Twitch Reddit Google News Apple News Subscribe via WordPress Flipboard eBay

Race Sim Central © 1999-2026 | Some links pay RSC a commission. Advertising does not equal endorsement.Cookie Policy