Search Training

Search Training is a medical VR application that trains hemianopsia patients to compensate for their vision loss with eye movement and collects training data.   Genre: Medical App Platform: Google Daydream Artstil: 2D Engine: Unity 3D Year: 2018   Configurable stimuli pairs are displayed on a sphere surrounding the user. Head movement can’t be used … Read more

Unity: Animator State Lost?

Sometimes there is an animated gameObject which mustn’t stop animating or its state breaks. If it should continue off-screen you can set the Culling Mode of the animator to Always Animate.   But sometimes that’s not enough. When you disable an animator in the mid of an animation, it’s most likely stuck the next time … Read more

Unity: Events vs Interfaces

“Events are evil!” is a common opinion among Unity developers. What are the reasons behind this statement and are interfaces an alternative to events? Example implementation at the bottom.     Problems A common source for event bugs are timing issues. For an event to work correctly you have to subscribe before it’s triggered and … Read more

Unity: Null Check Not Working?

Ever checked an object for null and it didn’t work? Computers do precisely what you tell them to do -> it must be a programming error that bypasses the null check.   This is one of the moments where I doubt my sanity as a programmer.   What Happened? The C# target object isn’t null … Read more

The aMAZEing Labyrinth

A mobile adaption of the classic ‘Das verrückte Labyrinth’ by Ravensburger.   Genre: Puzzle Platform: Mobile (android, ios) Artstil: 3D Engine: Unity 3D   Year: 2021 Duration: 7 month   My Part: Artificial intelligence Pawn movement General gameplay features   All of the rules – like shifting the labyrinth and collecting treasures and secrets – … Read more

Unity: Preserve Articulation Body State

One constraint of articulation bodies is that they lose their physics state if their hierarchy changes. This behaviour manifests as snapping back to their initial configuration/position. You can find a short overview of the constraints and advantages of articulation bodies here.   Problem Changing the active state of the root articulation body is also a … Read more

Unity: Articulation Body Overview

The system was integrated for industry applications like realistic physic simulations for robotics or the training of neural networks. But it can also be used in games where a high precision physics simulation is needed. For example physics-based puzzles.   Some parts of the feature are still buggy or not completely implemented yet. Especially the … Read more

Unity: Articulation Body Documentation

I’m currently playing around with articulation bodies which were introduced in 2020.1. Some parts of the feature are still buggy or not completely implemented yet. Especially the spherical joint seems to exhibit a lot of bugs that crash Unity’s physics system and should be avoided at the moment.   Because the feature is so new … Read more