Playing with car physic & 3DzzD Update 11

EDIT: (Update 11)

improved physics, still a cupple of bugs but now you should be able to get up when car is up side down


http://demo.dzzd.net/SIMCA1000/fond.jpg

Click here to start

EDIT: (Update 10)

-> Watch video

or try it :
[url=http://demo.dzzd.net/Racer3DV2/Racer3D.html]

[/url]

older version below :

here is an exprerimentation on car physic with 3DzzD that it is not yet fixed but that I wich to share

some know bugs: car may disapear … or simply “explose”

note : there is no ineritia for now this mean that you cannot really jump and the break is immediat

it is a debug scene so design and model may look hugly :slight_smile:

http://dzzd.net/demo/ROAD2/

escape key to pause

EDIT: (Update 3)
http://dzzd.net/demo/ROAD3/

EDIT: (Update 4)
http://dzzd.net/demo/ROAD4/

EDIT: (Update 5)
http://demo.dzzd.net/ROAD5/

EDIT: (Update 6)
http://demo.dzzd.net/ROAD6/

EDIT: (Update 7)
http://demo.dzzd.net/ROAD7/

EDIT: (Update 8)
http://demo.dzzd.net/ROAD8/

EDIT: (Update 9)
http://demo.dzzd.net/Racer3D/Racer3D.html

Seemed to work fine until I ran into the wooden post thing, which caused me to get stuck.
On page refresh the “Enter” button stops working, throwing the following :-


starting 2
ACTION=ENTER
Exception in thread "AWT-EventQueue-5" java.lang.NullPointerException
	at Road.setGameMainActive(Road.java:184)
	at Road.actionPerformed(Road.java:88)
	at GButton.mouseReleased(GButton.java:87)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

thanks for the output console do you use FF ? if so refreshing It maybe related to a FF/Applet bug (not sure this is only suposition I need to do further research on that, but it seem that FF reuse the same instance of applet when refreshing rather than create a new one)

sry for the “wooden post thing” I did not realized that it can stuck the car, I will update that.

yeah, it was using FireFox

updated, still not perfect but pretty cool

http://dzzd.net/demo/ROAD2/

another update, correcting some bugs, the car turn is now better.

car can turn left right a litlle more, this is no more possible to accelerate when front wells are not in contact with an object

I added a platform that you can reach by driving enought fast on the big blue jump.

to avoid to be stuck you can drive even when car is turned upside down, this is not a bug.

same url:
http://dzzd.net/demo/ROAD2/

nothing really new there , just add a ramp to reach the platform

http://dzzd.net/demo/ROAD2/

and a special jump :slight_smile:

Thats really cool, found it very funny when I can drive upside down :slight_smile:

Jumps are ace, whole thing feels very solid. I still get some graphical glitches (texturing flickering, things popping) with DzzD but it really doesn’t touch this experience :slight_smile:

Kev

Nice.

I noticed the controls are much better on a slower computer. I even ran this through a remote desktop session, where is felt a bit gooey but better to control. Physics seems really framerate dependent.

Minor glitch: The applet did not load in Opera the first time I got to the site. After hitting reload it was loading but with white backgroud instead of black (black in FF).

@kev: thanks’ cool that you enjoy! about graphical issue, they are very hard to fix… :frowning:

@irrisor:

[quote]Physics seems really framerate dependent
[/quote]
yup it is right, and that’s a bug , It use time based function but they are always called with the same parameter (this make the whole FPS dependant), I will fix that tonight

EDIT: seems what I said is studip :-X, result should be the same for FPS based, I try on a very slow and very fast computer and got the same results, pressing the front arrow at the applet start (without turning) reach the platform and do a loop by tuching the border of it.

[quote]Minor glitch: The applet did not load in Opera the first time I got to the site. After hitting reload it was loading but with white backgroud instead of black (black in FF).
[/quote]
too bad, I test IE6/IE7 FF2.0 Safari3… not opera could you plz,give to me the java console/screenshot anything that can help ? anyway thank’s to have tested it and provided me some feebacks

[quote=“DzzD,post:6,topic:31538”]
Works great, but my car seems to spend 90+% of the time upside down. Seems like when jumping normally, it pretty much always lands on the roof, but flipping back to drive on the wheels is almost impossible. Frustrating. :-\

Yay, jumps.

The loader still needs work though - the pacifier gif is causing a flicker in the middle of the applet, right where the car is. Mac OS X Leopard / Safari 3.1.

Field of view is too small and it is too dark. I can’t tell where I am going. Then I will see something flash by, but lose where it is before I stop.

Otherwise it works well in IE6 with Java 1.6

new demo with some improvments:

  • all wheels are motorized this is a 4*4
  • springs are smoother
  • more gravity
  • wheels turn
  • test scene have more light and is us a different model

so, finally all that give a better control of the car

still some bugs I need to find >:(

http://dzzd.net/demo/ROAD3/

you can download the 3ds model here :

http://dzzd.net/demo/ROAD3/ROAD/ROAD.3DS



if you have good idea and want to try to make your own circuit , I will put t online :slight_smile:

[quote]Yay, jumps.

The loader still needs work though - the pacifier gif is causing a flicker in the middle of the applet, right where the car is. Mac OS X Leopard / Safari 3.1.
[/quote]
thanks I will fix that

[quote]Field of view is too small and it is too dark.
[/quote]
I have updated for lightning, do you think I still have to increase FOV, it may look fisheyes it is already set to 60° ?

I think the problem with the field of view is that you are always looking at the car, and the camera is not in a fixed position behind the car.
When you are going fast and straight, you can see fine, but when you are going slow, and trying to turn around to line up with something, all you get to see is the car and the ground right around it.

No. It is a lot better now.

3DzzD is “Chuck Norris approved” … :slight_smile: ok maybe not the best joke of the world :-X

for people who dont know there is a joke on google, type : find chuck norris then use the button “I feel lucky” not the search button (for FF user you have to go to google homesite the FF start page dont have this button).

WOW! This is amazing and a lot of fun, very well done!

Right now it looks and feels a little bit like a remote control toy car, maybe because it has very high top speed and acceleration and/or the car seems to be very light weight. I assume it is configurable, to change the characteristics of the car.

I think this would make the basis for a really fun game, are you planning to do that, or are you more interested in concentrating on the engine?

I couldn’t get the camera controls to work (tested using both FF and IE), it would be interesting to try with a camera closer to the car/ground, or even from inside the car.

Ben.

Working on it as we speak :wink:

Currently I’m writing a track editor and Bruno is focussing on polishing the rough edges off the engine

Looks like it should be good, but far far far too dark so see anything except the occasional highlighted face. Plus the camera seems to be too laggy to properly see where you’re going.