I'm a bit stumped with a script I'm working on.
In my battle system I'm using actor battlers in side view. I need to find a way to rotate the battle animations to make it appear they are coming from the correct actor instead of just being flat. It's a bit hard to explain so I have a video.
You can see that when the enemy in the bottom left fires at the actor in the top right the gun fire looks like it's coming from no where, I need a way of taking the coords of the subject and the target and figuring out from that how to rotate the animation.
Please help, it's driving me mad trying to fix this myself.
In my battle system I'm using actor battlers in side view. I need to find a way to rotate the battle animations to make it appear they are coming from the correct actor instead of just being flat. It's a bit hard to explain so I have a video.
You can see that when the enemy in the bottom left fires at the actor in the top right the gun fire looks like it's coming from no where, I need a way of taking the coords of the subject and the target and figuring out from that how to rotate the animation.
Please help, it's driving me mad trying to fix this myself.