Graf Zahl wrote:Thanks. That's the kind of feedback I was asking for. To make it clear: I have no real problems with the feature as-is, but sometimes a second opinion is necessary before going on.
Ah, I see, you wanted opinion on the concept.
Gez wrote:On the other hand, there's no such feature for pitch and roll, so it's easier for me to understand the use case for pitch (I think the issue of a blood splat on the ground displayed with a flat sprite and viewed from below would still be a question of pitch, not angle, right?). And I suppose once you have this feature for pitch, then there's no reason not to have it for angle.
You are correct.
Code: Select all
VisibleStartPitch 0
VisibleEndPitch -90
And the sprite will be completely invisible on the underside.
I did not include roll because I don't think there's any such use for it at this time. I could try, but I'll make it a new PR for it after this is merged, if anyone can think of what it would be good for.
dpJudas wrote:I can see some logic in wanting to only show a sprite for certain angles where the graphics itself relies on an illusion that the sprite is more than it appears. The alternative solution suggested by Gez (use a 1x1 transparent image) seems a bit hacky, so if that's the only way of doing it today I think the patch makes sense. So I guess it comes down to whether there's a better way of doing this?
It would be nice to find a way for defining a sprite set to replace the images at certain pitch levels... but if that was done, then people might start asking for things like adjustable angle positions and it just might get into a snowball effect. Plus that doesn't exactly address if, say, the actor is capable of looking up at the target from below and it changes all around.
Yeah that'll get really sticky.
[quote="Graf Zahl"]Thanks. That's the kind of feedback I was asking for. To make it clear: I have no real problems with the feature as-is, but sometimes a second opinion is necessary before going on.[/quote]
Ah, I see, you wanted opinion on the concept.
[quote="Gez"]On the other hand, there's no such feature for pitch and roll, so it's easier for me to understand the use case for pitch (I [i]think[/i] the issue of a blood splat on the ground displayed with a flat sprite and viewed from below would still be a question of pitch, not angle, right?). And I suppose once you have this feature for pitch, then there's no reason not to have it for angle.[/quote]
You are correct.
[code]VisibleStartPitch 0
VisibleEndPitch -90[/code]
And the sprite will be completely invisible on the underside.
I did not include roll because I don't think there's any such use for it at this time. I could try, but I'll make it a new PR for it after this is merged, if anyone can think of what it would be good for.
[quote="dpJudas"]I can see some logic in wanting to only show a sprite for certain angles where the graphics itself relies on an illusion that the sprite is more than it appears. The alternative solution suggested by Gez (use a 1x1 transparent image) seems a bit hacky, so if that's the only way of doing it today I think the patch makes sense. So I guess it comes down to whether there's a better way of doing this?[/quote]
It would be nice to find a way for defining a sprite set to replace the images at certain pitch levels... but if that was done, then people might start asking for things like adjustable angle positions and it just might get into a snowball effect. Plus that doesn't exactly address if, say, the actor is capable of looking up at the target from below and it changes all around.
Yeah that'll get really sticky.