Playing on a casual sunday with BabylonJS 6 update and Havok .
If you try it on the computer use the “WASD” keys to move the vehicle.
On mobile devices use the left side of the screen to accelerate / reverse and the right side to turn the vehicle.
For more aggressive stress testing, all objects are unique (not clones or instances), PBR materials, and the DeviceAspectRatio in the Engine to True.
For more aggressive stress testing, all objects are unique (not clones or instances)
You really went for the throat there!
but it’s great to see how well it’s performing here on my laptop!
And I love the tire marks, how you did you add them? Decal?
Thanks for your comment
Right now I’m trying the tire marks using decals but I want to optimize the performance and also check the orientation of the marks
April 24, 2023, 2:46pm
If needing 8hrs of sleep makes me a senior then consider me Methuselah
April 24, 2023, 3:20pm
Well, I know when I don’t sleep I do shit… Correction: When I don’t sleep I do even more shit
literally it’s an usual expression of a boss that I had years ago
April 24, 2023, 3:33pm
Oh, it wasn’t me I promess… at least, I don’t think so
April 24, 2023, 9:07pm
@DRLeria . I had some fun playing it
@carolhmj : I only get about 6.5 hours. Does that make me a young guy ??
@gryff!!! Thanks for your comment
And welcome to the “ BJS Sleeping Contest”
Seriously impressive how smooth and silky this is on my iPhone 14. Great work!!
Question, are the tetrahedron shapes simulating collisions on each side or is it just using a cylinder collider?
@jamessimo! Thanks for your comment
The tetrahedron is using a sphere collision.
Ha, I like the little skidmarks
I was considering what was the best way to do it and finally I opted for decals and added an interval function that eliminates the marks every 2sec
The next step is to create a scene in 3DsMax and try more complex collisions.
For now I just have to say that HAVOK is awesome and the performance is impeccable.
Would you mind uploading this to a GitHub repo (preferably using vite) or a Playground? I’d love to include this in my awesome-babylonjs list.
Let me clean a bit the code and i upload it
Had fun trying to knock one out of the box… mission accomplished…
@DRLeria … What kind of vehicle physics are you using for the car ? Some kind of Havok Vehicle Physics ?