Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 10:54 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Oct 31, 2006 7:35 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Currently, all Raydium cars are using a sphere system for wheels ("sphere cars"). This way to handle the physics provides a realistic feeling (suspensions, inertia for front wheels rotations, ...).

I'm now trying to create a way more arcade driving style, and replacing sphere wheels by rays is supposed to allow this ("ray cars"). I've just added a new file to the SVN, raycar.c, with this new system. You must press the "e" key to start simulation.

The car body is always the same (the good old clio.tri box), but I launch 4 short rays from the wheel positions and create contacts between the ground and the car if rays collides with the ground. These contact points are quiet complex, trying to emulate suspension and real tire behavior ! This is done using separate properties for the transversal axis of the tire (second axis in ODE contact points). This setup allows A LOT of tuning.

The car is currently able to move forward and backward, to turn left and right, the suspension is able to absorb huge chocks without making the car boucing. The next step is to make the car stable (it flips very easily) and making it turning ... better :)


Last edited by Xfennec on Tue Oct 31, 2006 11:07 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 31, 2006 10:03 am 
Offline

Joined: Thu May 25, 2006 8:26 pm
Posts: 47
Chez moi il y a un petit problème:
Quand j'appuie sur la touche "a" rien ne ce passe et dans la console il est indiqué:
Quote:
Raydium: timecall: WARNING ! 0Hz callback (num 1)


et si j'appuie sur "z" ou "e" l'application plante et j'ai droit a un rapport d'erreur d'XP.

:wink:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 31, 2006 11:06 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Arkane : désolé, oui, c'est bien la touche E. Je corrige mon post.
Par contre, le plantage n'est pas normal ... Tu est bien sûr d'avoir recompilé la DLL ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 31, 2006 12:51 pm 
Offline

Joined: Thu May 25, 2006 8:26 pm
Posts: 47
Oups!... je n'avait pas recompiler la DLL :roll: .

:wink:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 26, 2006 6:44 pm 
Offline

Joined: Sat Oct 29, 2005 12:43 pm
Posts: 65
Je n'avais pas encore testé cette amélioration... Avec un pad analogique, la voiture est super agréable à piloter :)
Elle a un peu tendance à grimper le long des obstacles ^^
Mais on peut enfin raser les murs :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group