3D Vehicle Physics Game!
3D Car Physics Demo
Drive cars in this vehicle physics game.
Play PhysicsAgain
Features
- 3D physics!
- Vehicle with realistic suspension
- Terrain with basic obstacles and interactive objects
- Automatic and manual transmission with realistic shifting
- Headlights, fog lights, brake lights, turn signals, and reverse lights
- Day/night toggle
- WebAssembly optimization
- Engine sounds
Inspired from ammo.js sample vehicle.
You can use the vehicle generator used in this game.
Controls
W, A, S, D moves the car, or arrow keys
Press "Sun" to toggle the Sun.
Press "Change Car" to toggle between minivan and original vehicle.
Press Z to toggle left turn signal, and C to toggle right turn signal.
Hold Shift to brake. Once the vehicle comes to a stop, the vehicle will stay stopped until the accelerator is pressed.
Press H to toggle the headlights.
Click and drag to look around.
Got stuck? Press V to flip.
Drive in Manual
Click "Automatic Transmission" to switch modes.
- Press E to shift up.
- Press Q to shift down.
- Press R to toggle neutral.
Enjoy!
Gallery
The Minivan
Minivan 2
Night Driving
Original Vehicle
Last Updated: 2/1/2022
whoever said i would love holding v... you were... not wrong...
@ninjaread99 Ayyy
@tussiez could you also try to change the code a bit so that u can move when flying with "v"?
@Rebelthunder It was originally intended to flip :D
@tussiez i know
Let's pay respects to the people who play this game without a mouse (touchpad users I understand your suffering)
@Botmakerguy Doofenshmirtz Evil Incorporated!!!
@LaneMartin i use mouse so no f fur me lol
@LaneMartin evil
mum, can we get forza?
no we have forza at home
forza at home:
(its really good btw, keep up the great work!)
@videogamehover
Hah, don't make me laugh in class :D
Thanks!
@AndrewMarkarian oh that sucks
Now I know why I keep getting a cycle a day.
f in chat for this guy
NGL, this seems to be an accurate representation of what the Mars Rovers will being doing secretly out there...
@OldWizard209 Evil scientist laugh
the 3d grass is actually amazing, with the light reflection it looks so good and the car suspensions arer also great for having fun. grate work !!!
@JamshedAkbari Thanks!
it could have a better car but apart from that it is a very good game
@cgcgcgcgcg After seven months, the car is finally better.
noce
@Unclyscam123 lipsmack
@tussiez lol
O, you’ve used a more than one h1, for this project it’s not important, but in a future you can’t actually use more than one h1 on a page 😉
Yes. Another problem is with SEO optimization but this should be fine. I usually do h6s with a class of h1 wich
looks excactly like and h1, but does not act like one. Im not excactly sure that a screenready would work with this site tho, its all [email protected]
@tussiez Well you can use more than one html tag too:
<html> <html> ... </html> </html> <html> ... </html>
@xxpertHacker aaaaaaaaa
@tussiez Lol, the empty Repl has it's head in it's body.
@xxpertHacker Chrome does this automatically iirc, so I decided to
@tussiez Wdym Chrome does this automatically?
Any references?
@xxpertHacker Put <head>
outside of <body>
and look in Inspect
@tussiez Yeah no, Chrome just attempts to correct your bad HTML.
<head>
outside of <body>
:
html head body
<head>
in <body>
:
html body head
But even if Chromium did it, you wouldn't be considering other browsers, such as Firefox, or Safari :/
@xxpertHacker No idea, it was just a habit I developed after seeing Chrome put it in(???) somehow
@tussiez wouldn't that make you...
Search Engine Optimization Optimization Optimizer
@tehgingergod I am the
@xxpertHacker lol head in body
@tehgingergod yessiree
Hey:) You did good.... Nice!
@ErinPark5 Thanks!
Suddenly I realize.... this looks like Jailbreak keybindings!!!
:sus:
@Baconman321
Dang it. Ya got me again. >:( >:(
I did use Jailbreak keybinds..
@tussiez Space would be better for break (it's more well known), as well as shift for the boost.
Vehicle simulator has the above mentioned keybindings for their game.
Also...
wanna work on sortacraft? (IK it's a bad post to ask on but whatever)
-
Meh, it's just a demo, this can be easily changed (or become an option!) in the future
-
Hmm
i found a glitch where you keep pressing v you fly into the sky you cant move around tho
ok just letting you know! @tussiez
bruh hold v. Then the REAL magic starts @MargaretGilbert
y e s @tussiez
@MargaretGilbert y e s s
@MargaretGilbert y a s s s
This reminds me of robocraft back when it was good. also, why are the brakes on the front wheel instead of the back?
@LukeWright It flips too hard when I set it to the back wheels
@LukeWright [removed lol]
people save your updotes for sortacraft 2!!!
@Unclyscam123 pls ^^^
@pythongeek1010 press V to flip bak up
@LaneMartin I know, it's just funny...
Dang it, you cant drift... It flips your car.
This is really cool hope to see a full version
@eleazarfolabit Yeah, working on it rn!
I keep getting an error 404 for a file map.perlin.js when I try and load the site
@TroyDrescher Not necessary code, I will remove it
for some reason the 3d car will not load for me because it keeps get stuck on the loading model
@MrWoodstock Huh. Check the console for errors. I’ll look into it soon.
@tussiez have you figure out the problem out?
@MrWoodstock Sorry, repl.co is blocked in school for me :/ will check at my earliest convenience
@tussiez it is all right, there is no rush anyways
First thing I saw was this:

VEGETEABLES!!!
nah man I m out
JK lol, noice game with noicer physocs
@OldWizard209 : D
WHY DOES THIS HAVE SOOOO MANY UPVOTES, AND ONLY HAVE TWO REPLYS!!!????? @OldWizard209
@Wilke000 I have no idea
bruh @Wilke000 , IDK why, maybe people like the comment, so they just upvote. Doesn't mean that if you upvote, you_have_ to comment.....
Maybe @OldWizard209... I have said that before so...
@OldWizard209 the grass is a picture
@Wilke000 wat
Yeah, well @firefish.................. It had 2 comments........... so........ yeah.......
@Wilke000 oh i thought it said repls not replies oh dummy me
@firefish Oof
@firefish:
@tussiez I think you should make this 4x4 because this keeps flipping over whenever I hold boost.
ok bonner @Rebelthunder
@Rebelthunder I think it is 4x4
@adilskillz 😳
@tussiez is it? cause it works better in reverse, so that's making me think that it's rear wheel drive.
also, this is my alt account.
@Rebelthunder956 Huh.. must be the physics engine
@Rebelthunder956 Oke
@Rebelthunder956 @tussiez @adilskillz and @Wilke000 can you guys stop replying to this thread. You are clogging my notifications and my e-mail...
@OldWizard209 Yikes! Sorry, my email is spammed too
ImOof
Oh lol ok @OldWizard209 I know how it feels...........
@Wilke000 ok boomer lol
Yeah but it still continues... @Wilke000
Because he's a god at coding.