ar rpg demo
After Pokemon Go was released, I wanted to try implementing my own Augmented Reality game for a Role Playing Game. Using trigonometry combined with the phone's giroscope and localization, I managed to make my own algorithm that can calculate a monster's position fixed in a "real world" position. This way, regardless where the user points with the phone's camera, the monster looks like it's stick in a position in real life. This implementation was developed without using any API related to AR; it is pure math. Hence, the precision is really low as it can be seen in the demo: the monster shakes non-stop.