Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Car generator

A topic by Kenney created Dec 15, 2019 Views: 1,873 Replies: 1
Viewing posts 1 to 2

Generates basic cars!

[ View the script ]


if wheels looks at this pic:

change in lines 31-35:

replace with this code:

forge.build(randomWheel, {-0.5, wheelHeight, -0.75}, {0, 180, 0})

forge.build(randomWheel, {-0.5, wheelHeight,  1}, {0, 180, 0})

forge.build(randomWheel, {0.5, wheelHeight, -0.75}, {0, 0, 0})

forge.build(randomWheel, {0.5, wheelHeight,  1}, {0, 0, 0})