checkpoint

This commit is contained in:
Joe Ardent 2023-01-28 22:10:21 -08:00
parent ec2a99e239
commit 99d58cbcac

View file

@ -69,6 +69,9 @@ fn falling_cat(
let up = xform.translation.normalize();
let bike_up = xform.up();
let wright = xform.right().cross(up);
let wback = wright.cross(up);
let torque = bike_up.cross(up).normalize_or_zero();
let cos = up.dot(bike_up);
let cos = if cos.is_finite() { cos } else { 1.0 };