![]() |
Changing z not offsetting shadow (showani())
Shouldn't Graal automatically offset the shadow of a gani when changing around the z? It doesn't seem to do that when using showani(), which poses to be a nasty problem for me, trying to develop a custom projectiles system :( Help's appreciated.
|
I see whatīs your problem is. I donīt know how to do it but i think this could help you:
Shoot where you click there the shadow is also going off the arrow :P |
Quote:
|
Well an obvious hack would be just to remove the shadow from the gani and draw another shadow but I figure you want to avoid that.
Shot in the dark.. pass the z value as a parameter and set it in the gani script: PHP Code:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Can always do something like this with no headache. PHP Code:
|
Quote:
|
Just delete the shadow from the gani and showimg one in the ganiscript of it, if you're going to go that route? The position of the shadow is static in relation to the gani, so you shouldn't need to run a loop or anything.
|
Quote:
|
Unlikely but is the shadow within your gani definitely index 0?
I believe it has to be in order for it to be offset when changing z. |
Quote:
I figure it has something to do with Players + NPCs rendering the gani differently than a normal showani/showimg/findimg. |
Quote:
|
I made sure everything was correct; tried using the "idle" gani to be completely sure about it, too. So that's definitely an issue with showani/showimg.
|
All times are GMT +2. The time now is 08:26 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.