Question by
Leafhood · Aug 08, 2019 at 02:17 PM ·
cameravector3quaternionbillboard
Sprite between two points, facing camera?
Hi!
I have a problem I just can't figure out, it might be something really simple I just haven't thought of, but you tell me:
I'd like to have a sprite stretch between point A and B in 3D space, and rotate it on axis between A & B so it shows as much as possible to the camera. So a bit like a billboard, but it might be facing over or under the camera, depending on A and B positions.
Any vector/quaternion gurus here? :)
Thanks!
Comment