Hey Guys,
I have an image, which is circular (like the edge of a compass measurements). I want to only show a portion of the image on the screen. Not only that, but I to show only a portion and rotate the texture before it’s set to a sprite or an object. So in effect, I’m completely setting the position, rotation, and portion rendered of an image within a sprite. Not the sprite’s rotation/position itself.
To emulate this as best as I can I’ve currently got a 2nd camera on the screen, with objects attached to it, which are only shown by the filter of that second camera. The circular object spins within that second camera’s view. That second camera is rendered on a portion of the viewport, so it looks like it’s fitting into an overlaying image. However that’s just an illusion. Overall it works, but it feels hacky and I don’t like hacky… And lengthy to edit. Can anyone think of another way to get the same effect? if not at least, like the way I suggested above.
Thanks!