POV-Ray : Newsgroups : povray.binaries.animations : Dodgy suspension (451kbu MPEG 1) : Re: Dodgy suspension (451kbu MPEG 1) Server Time
2 Nov 2024 05:22:23 EDT (-0400)
  Re: Dodgy suspension (451kbu MPEG 1)  
From: Alan Holding
Date: 13 Aug 2002 13:25:57
Message: <3d594125@news.povray.org>
Hugo wrote:
> Isn't that perfect?  :o)  It looks perfect to me!
> And I have no idea how to program something like this.

Thanks, Hugo.  (No cheque in the post this time, mate!)

It's not quite perfect.  The chassis wobbles way too much in the Z axis 
and the whole basis of the simulation is wrong anyway as the front 
wheels are rotated in Z according to an averaged angle (instead of being 
independently suspended/rotated).  The read wheels are rotated in Z 
using this trumpery gimcrack, too.

The wheels X rotatation is fake too.  Look close (vveerryy close) and 
you'll see that they don't rotate relative to the distance they've 
actually travelled (including the extra up and down of the bumps), just 
the rotation in relation to a fixed Z distance.  (Confused?)

The next stage will be to give the chassis a proper centre of gravity to 
rotate around (it currently rotates around averaged Z and X angles taken 
from positions of the wheels) OR to enforce a proper simulation with 
springs, etc.

*And* I want to include a force/intertia system for animations so that 
the chassis will wobble back and forth and side to side as the car 
skids, slides to a stop, etc.  That should actually be pretty easy, 
believe it or not!

Break out the Nurofen!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.