Skip to main content

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

Great work! I know exactly what video you are talking about, haha. I don't use any special formula, just the built-in Unity stuff. I pretty much just number/code tweak until I find something that feels good. In this case, I started with just a fixed number I set, the direction between two magnets, and the distance between two magnets. It felt decent, but I figured adding something more when they are very close would feel better, so if two magnets are very close they pull together stronger past a certain distance. If you are new to Unity physics, I would recommend just messing around inside of Unity with different built-in functions, objects, and values, then look into the theory. Theory is good, but won't make much sense until you have some practice in and often times takes the fun away from creating early on, in my opinion.

(+1)

Oh wow, thank you for your tips, I really appreciate it! I was kind of afraid of making stuff on my own at first, but I realize that it could be super useful to get to familiarize myself with Unity physics :D  Thank you once again and best of luck for the jam!

(+1)

Thank you! for listening as well, haha. And good luck to you too.