Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Car Physics Demo  (Read 1396 times)
trekdude2007
Customers
Community Member
*****
Posts: 122


« on: June 10, 2007, 03:36:25 AM »

I've been trying to get the Car Physics demo (the one that demos the 6.5 beta physics stuff) to go.

It crashes with VB6 when it trys to generate a terrain.

(1) Does anyone know how to get it to work?

(2) Does anyone know of a VB.Net version? (when VB converts it , it still crashes)

(3) Are there any other Car Physic demo progs that use 6.5 physics?

Thanks

TrekDude
Logged
sybixsus
Customers
Community Member
*****
Posts: 1339


WWW
« Reply #1 on: June 10, 2007, 08:09:33 AM »

Change any reference to "= New TVLandscape"

in the code to "= TVScene->CreateLandscape" instead. Landscapes cannot be initialized the old way any more.
Logged
trekdude2007
Customers
Community Member
*****
Posts: 122


« Reply #2 on: June 10, 2007, 08:17:27 AM »

Thanks Sybixus yes that was the prob.
Logged
trekdude2007
Customers
Community Member
*****
Posts: 122


« Reply #3 on: June 10, 2007, 08:54:23 PM »

Still working on the CarPhysics program while working out the new 6.5 beta physics.

The landscape renders, but appears to be reversed. ie the car is sitting on a black void. If i tilt the camera down and look under the landscape I can see the rock texture of the land scape reversed underneath. (and slight images of car wheels sitting on other side)

Anyone know what the problem is and how to get the terrain texture to render on top.

Thanks

TrekDude
Logged
trekdude2007
Customers
Community Member
*****
Posts: 122


« Reply #4 on: June 10, 2007, 10:03:54 PM »

Don't worry. Was something to do with .setcullmode.
Logged
educa
Customers
Community Member
*****
Posts: 30


« Reply #5 on: June 13, 2007, 01:41:40 AM »

Trekdude, is there a way to get the sourcecode for this demo somehow?

I work in delphi but even vb code can help a lot to learn these features.

regards,

Bart (educa)
Logged
trekdude2007
Customers
Community Member
*****
Posts: 122


« Reply #6 on: June 13, 2007, 04:11:54 AM »

Hi Bart

Try this link

http://perso.wanadoo.es/manowar2/CarPhysics.zip

TrekDude
Logged
asia
Customers
Community Member
*****
Posts: 183


« Reply #7 on: June 18, 2007, 10:08:50 AM »

The following texture are missing from the demo zip file named CarPhysics.zip:

Shadow.png
Entity.png

Moreover the program contains the following line

 .Balance Car.VehicleID

that refers to an unsupported method/property of the class "Physics"

And let me remember you to replace:
set land = new landscape
with
Set Land = Scene.CreateLandscape("")

So let us know when the demo is properly running...
Ciao
Fabio
Logged

Fabio Musmeci
ENEA
CR Casaccia
Via Anguillarese 301
00060 Rome
Italy
musmeci@enea.it
+39 3333934898
Learning to live better on a smaller footprint..
rogangriffin
Customers
Community Member
*****
Posts: 13


« Reply #8 on: October 11, 2007, 12:32:57 AM »

I converted a Car Physics demo from C# to VB6.
You can download it from:
http://www.freegames.byethost13.com/carstarterkit.htm
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks