Change Image in BillboardGUI based on Camera Angle?

i was thinking about utilizing BillboardGUI to insert an ImageLabel into it, and have that image change depending on the angle of the player’s camera. something like how sonic roboblast 2 does it… like this:


(description: a recording of sonic roboblast 2, with the camera spinning around sonic. because sonic is in sprite form, the sprite itself changes depending on the angle of the player’s camera.)

i’m not asking for someone to do this to me, but rather… how would i go about this? how do i check for the camera angle of the client in order to change the image?

You could probably base it off of the base part that holds the billboard gui

figure out which way the camera is by getting the location of the camera, and the base part, to then figure out the distance and such the camera is from said part, and load the image depending

Best I can explain it

yeah, i figured i could probably work with the base part to do that. i’m looking on the dev wiki to see about stuff i can do with the camera, not sure if i should use stuff like LookVector or not , haha
though if i do i’m not sure how i’d use it… probably comparing values or somethin

most likely have to compare the values, and find where they are in the 3D space compared to eachother