Sunday, June 6, 2021

We have a walk cycle... it walks forward and backward!

Gonna start over from the beginning, and a box for my peep! I have a 'center of peep', left and right feet, and a destination the peep wants to turn and walk to so first we need dx and dy based on facing to place the left and right feet. We have a current user chosen (cx, cy, cz) which is either the peep spawn point (or current location: px, py, pz) or destination (ultimate? ux, uy, uz). Delta is the difference, ux minus px is dx, and so on. Feet have (rx, ry, rz) and (lx, ly, lz) for right and left.

No comments:

Post a Comment