Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

now believe it or not but the trailer is old news 
it was made before I rewrote the lightmapper
and the movers (doors and whatnot) had lightmaps on them

and among other things recently I managed to finish up the car 
which is the last big feature I insisted on having in the game ๐Ÿค”

for comparison this was the old car - I thought just driving around a sphere going to work out
and it would be a nice oldschool car

needless to say the driving was not up to standard - but many people loved the design of the placeholder ๐Ÿค”

the new car got reworked a few times - it's mean to be a combination of a 4x4 jeep with a mini monster truck

the inside looks a bit better but I didn't bother to make a working dashboard

this new one is based on super basic spring physics - the game still has no physics engine ๐Ÿค”

if you ever go mad as me and try to build your own physics:
update the gravity for all particles first and only then apply the spring constraints
turns out that is the trick to bring it together ๐Ÿค”
also there is some extra correction - the direction of the car comes from the relation
of the spheres it's made of (6 spheres) and to make sure you drive in a straight line
there is a little cheat added - some of the speed that would deviate you from this dir is cancelled
and that is all needed to make a workable car ๐Ÿค”

the rest is playing with values until it feels right and you can drift and so on ๐Ÿค”

of course adding physics to a car has it's problems ๐Ÿค”

until next time ๐Ÿ‘‹