Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Its not that tricky code-wise , but its a lot of playing with settings and playtesting to make it feel right.

Also here is a hint: you don't use Y axis gravity,  you keep the table flat and use X-axis gravity, in Unity you can have gravity in either the X, Y or Z direction. Also the big lesson was to not put rigidbodies on most things, only the objects that are not static, rigidbodies on static objects caused the ball to go straight through them and it was a Eureka moment when I worked that out and stopped having balls flying out of the table.

cheers