Pikmin Test
The leader and all Pikmin make use of the standard Unity Character Controller physics object, which surprisingly works pretty well. At least for the player.
The leader and Pikmin do not collide with one another, and the Pikmin do not collide amongst themselves. Instead, I use a very basic algorithm to keep them in formation.
The Pikmin only have functionality for following the leader using a straight-line path, getting out of his way if they are too close by moving outwards, and separating themselves from each other using a very rudimentary algorithm. Basically, they calculate a net "force" applied by all surrounding Pikmin within a certain radius and apply it on top of their regular motion.
It looks OK so far, but the algorithm certainly has its flaws. Oddly, pairs of Pikmin can get stuck in place occasionally, and I haven't yet figured out why. I want to experiment with something like Boids to see how that looks and feels for Pikmin movement.
Other Videos By Xenon Neko
2021-08-19 | Dissecting How Pikmin Follow Leaders in Pikmin 2 |
2021-08-19 | It Has All Come Full Circle - An Update |
2021-08-18 | ♪ Serenade Valley |
2021-08-18 | ♪ Island - Chain Playground ST |
2021-08-18 | ♪ Lucky 7 / "Level Complete" - Chain Playground ST |
2021-08-18 | ♪ Bellicose |
2021-08-18 | ♪ Hello World |
2021-08-18 | ♪ Molten |
2021-08-18 | ♪ Here We Go (Yet Again) |
2021-08-17 | Pikmin Test 2: Working Onions and Control of Multiple Leaders |
2021-08-11 | Pikmin Test |
2021-06-26 | A completely useless 4-bit counter |
2021-06-24 | Simple Casual Game Gets a Needlessly Complicated and Esoteric Feature |
2021-05-23 | Not Quite What I Had In Mind |
2021-05-21 | This Game Was Never Meant to Handle Physics Objects |
2021-05-15 | A Nasty Bug Resurfaces! - Chain Playground Gamedev Session - Part 2 |
2021-05-15 | Squashing Bugs - Chain Playground Gamedev Session |
2021-05-14 | An Update on Chain Playground |
2021-05-14 | Status: "Works as intended" |
2021-05-12 | Business as Usual |
2021-05-03 | Water Shader Test |
Other Statistics
Pikmin Statistics For Xenon Neko
There are 325 views in 5 videos for Pikmin. His channel published less than an hour of Pikmin content, less than 0.53% of the total video content that Xenon Neko has uploaded to YouTube.