Unity3D Code Examples

in #unity3d6 years ago (edited)

Hexapede Live Demo, (and on YouTube) - This Unity3D code example implements a six-legged centipede-like automaton. An automaton is a device that can act autonomously under its own control to achieve its own goals. It is driven by trigonometric functions that control amplitude, phase, and frequency of 12 drivers that control 12 hinges in the leg segments. For now, it is not all that coordinated. Sort of looks like it ran into some pesticide along the way! It is hard to get it all working just right by design, but a Genetic Algorithm combined with a Neural Net approach can actually be used to optimize this sort of problem very effectively, to fine tune a simple little robot such as this. You could add sensory input, and make the critter follow chemical gradients, to right itself if it falls over, and so on. The code is on GitHub.

Molecules Live Demo, (and on YouTube) - This Unity3D code example is a simulation of a chemical reaction involving a few Hydrogen atoms bouncing around in an enclosure forming some H2 molecules. The code is on GitHub.

Newton's Cradle Live Demo, (and on YouTube) - This Unity3D code example is a simulation of colliding pendulums, something that is known as Newton's Cradle. The code is on GitHub.

Sort:  

all this stuff is actually quite fascinating. I cant understand how i am the first comment and like on this :o
Keep up the good work :)