• 0
Sign in to follow this  
Followers 0
SCTrav

Making a projectile spell shoot the way the player is facing

Question

I can't seem to get this to work. I am trying to create a close range spell(1 range), and since i want this to be "fired" to where the player is facing, i have to make the spell into a projectile, right?

But the animation that's played is always facing upwards (like the image below)

 

Here's the animation graphics i wanted to use: 

 

 

And here's what my projectile editor looks like: 

 

 

What do i need to do?

 

Also worth noting i tried stuff like only 1 green arrow on the projectile spawns and other combinations etc.

Gibier likes this

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0
3 hours ago, Kibbelz said:

the default direction is assumed up, so up is shooting infront of the player.

Then how do i get the animation to follow the direction that the player is facing? I don't understand your answer. I've tried having only the up arrow enabled in the projectile spawns area, both with auto-rotate on and off, it did not work.

Share this post


Link to post
Share on other sites
  • 0

Again, for this to work you need your animation graphic facing up by default. Intersect rotates acordingly from there.

Share this post


Link to post
Share on other sites
  • 0

Look at the picture in the first post, there are two images, the animation is facing up. It simply does not adjust to the direction, thats why i included both the animation and the editor in screenshots, so that someone might be able to tell what i am doing wrong. And yes i did try having only the direction above the S greenmarked.

Share this post


Link to post
Share on other sites
  • 0

I don't know if this is how it's supposed to work, but i fixed this (thanks to HRA) by inversing my animation gfx, so that they're facing downwards, while having the arrow above the (S) in Projectile Spawns enabled, with auto-rotate enabled.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0