Landing Science

First of all, this is not rocket science. This is about controlling the disc block’s output of its lifting force and making a softer landing when all disc blocks on an aircraft is being turned off.

Results: (a little bit concerned if the 200% playback speed will tell the difference. )

 

One of the most challenging aspects of make this game is dynamically control the physics objects rather than a prebaked animation applied on them. This way the object will keep full physics interaction resulting in many interesting situations, like some abstracted robotics. Most of objects in this game are dynamically controlled. For contrast, one of the exceptions is the base. When it flies off it just follows a path, pushing everything away in its path which is determined when given a destination.

When I try to land a cargo aircraft on a ground structure to lift it up for transportation purposes, the cargo aircraft will more look like crashing instead of landing. I found this annoying because you will likely miss the target and have to try again. What happened is when a disc is off, it cuts its lift force like this:

liftchart1

The lift force begins dropping quickly and when it is below a certain point that cannot counter the gravity, the unit will just strike to the ground. Anyway, this is better than suddenly dropping to zero because at least a little gravity is reduced during the process. I have been wondering what if I reduce the lift to somewhere relative to that certain point rather than doing this on a 100% scale. So I can have more precise control dealing with the gravity.

 

lifting

And I have already got the numbers. From the info in this image, we can tell the lifting is being 50% used (4/8). So the idea would be if the lift is at 50% the structure will feel like in orbit, staying at the altitude without gravity.

In order to make it descend first, I should reduce the lift below this point for a small amount of time. The gravity wins over the lift during this period and the descent will begin.

Then in order to remain a reasonable descending speed, I should increase the lift back close to the 50% point countering the gravity. With damping considered in addition, the unit should just be able to smoothly maintain at a consistent speed. (actually in reality it tends to slow down)

Finally, I drop the lift as usual since the disc(s) are eventually to be turned off.

 

So I came up with something like this: when a disc is being shut down, it will modulate its lift as follows but have that load level % calculated first.

liftchart2

The good thing about doing in this way is its openness: it also works like it was when in a situation only some of all discs are being turned off. In that case, the ship will change its weight balance. (well I imagine the player has a good reason to do that)

Fortunately this is not as hard as the translational controller, the essential component of disc-driven flying units. I had done it almost a year ago when I was working on this project part-time.

Train Craze

t_traincar

With the introduction of these railway tracks, the cylinder block has a new use: wheels. The cars made using these cylinder motors are just like regular flying units, except on ground and less relying on the propeller discs. These vehicles cannot just run on a flat ground. If you observe carefully, the center body falls in the gaps between the inner tracks, making the structure lower so the cylinders will touch the tracks well. This will not happen on a flat ground.

t_train

This is my train departure. The tracks are carefully designed so the train car will not get stuck at turnings unless it is too big. You can notice the wider gap between the inner tracks here. Also in the above scenario, there are actually three shorter ones. The ones behind will push the front one forward.

These prebuilt tracks in the map provide strategic opportunities. For this one it is actually like a mine railway connecting to a location with scraps, a resource for gathering. And the track is circular so the “mine carts” on it will automatically come and go in loops.

t_train_dmg

Encountered some enemy defenses. Unfortunately no weapon is installed so I am just taking damage.

t_piston

Notice the enemy prism block can hide in the wall of cubes or extended out to attack. This is done by using a piston block.

When set in automatic mode, this block can extend to allow other blocks to fulfill their wish.(In this case, the prism attacking target). Otherwise it will be retracted hiding inside for safety.

 

 

 

 

t_mine

My debug bomber has arrived and taken them out.

Compared to aircraft, train is more suited for heavy (industrial) use. They move relatively slow and it would be a huge disadvantage against some sneaky fasting moving drones. Well, unless well defended.

Here I have built one to push heavy materials – a few dozens of cubes to slide on the track. The strong pushing power come from cylinders. If using discs, I would need quite a few of them just to lift up.

t_pushcar

So, similarly it is probably a good idea to push some heavy weapons armored with walls of cubes forward.