Closed ioxu closed 2 years ago
Exposed by trying vertical jumping levels, when enemies drop a new POI, the POI get snapped to Y=0.0. https://github.com/ioxu/key/blob/b0e1602a8ca28ffff386a5155ded98fa205f1027/data/enemies/Enemy.gd#L497
#poi.transform.origin = position * Vector3(1.0, 0.0, 1.0) poi.transform.origin = position
Good enough for now.
Exposed by trying vertical jumping levels, when enemies drop a new POI, the POI get snapped to Y=0.0. https://github.com/ioxu/key/blob/b0e1602a8ca28ffff386a5155ded98fa205f1027/data/enemies/Enemy.gd#L497