Controlling angular momentum using PID
Jul
31
2013

In an earlier post I had a look at controlling animation using PID-controllers. Generally, these controllers work on a single variable in a single dimensions. This is not always sufficient in a 3D world, so I wanted to explore the possibility of expanding it to more dimensions. Specifically I wanted to control orientation, and make my objects turn the right way using PID controllers.

{more …}

My take on Data-Oriented Design
Jul
5
2013

Data-oriented design is a paradigm shift from the classic object-oriented way of doing things. Basically, instead of modelling game objects using object and class hierarchies, we shift our focus to the data that describes these objects, isolate each type of data, and treat all instances of this data type (also often referred to as properties) in one swoop. We're supposed to think of ways to transform data, rather than objects and classes. "Where there's one, there are many" is the mantra of data-oriented design, the question is, what does it mean to you? Chances are you probably already knew all this before coming here, so I'll focus on what it means to me, my attempts to translate it into the real world, and how I use it in Choco.

{more …}

Categories

Archives