cervus icon indicating copy to clipboard operation
cervus copied to clipboard

Add an optional up arg to Transform.look_at

Open stasm opened this issue 7 years ago • 1 comments

#45 added Entity.look_at which currently always assumes that the look-at rotation should align the object's left direction with the world`s horizontal plane.

This might be helpful: https://stackoverflow.com/questions/8942950/how-do-i-find-the-orthogonal-projection-of-a-point-onto-a-plane

stasm avatar Aug 28 '17 00:08 stasm

This logic is now in Transfrom component.

michalbe avatar Sep 07 '17 11:09 michalbe