mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

BipedalGeometryVisitor #24

Open mattrdowney opened 6 years ago

mattrdowney commented 6 years ago

Originally I thought corners would be hard, but the existence of toes (as a center of balance) makes it easy.

The structure should track a few things:

Center of mass as before. Center of mass normal as before. Left toe position Left toe normal Right toe position Right toe normal

mattrdowney commented 6 years ago

The structure should also check if left_is_planted and right_is_planted implemented through an enum Footing { Both = 0, Left = 1, Right = 2 }

mattrdowney commented 6 years ago

I previously was not planning on using the concept of extrusion/elevation for this, but I think it would make everything a lot simpler (conceptually).