x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How can I rotate the Projectile Movement based object?

Hello,

how to rotate the Projectile Movement based object?

It seems to me that it is possible to transform projectile target only in moment of spawning, but if you want to spawn projectile and launch it later, and rotate it later, then it doesnt works!

I mean, how to affect where will fly the projectil after launch. I know there is Velocity on the projectile, but i thought that it is possible the projectile simply "rotate" to target, and keep for example the velocity still x = 1.0. that means "fly after your nose"

Thanks,

L.

Product Version: Not Selected
Tags:
more ▼

asked Jul 21 '14 at 01:54 AM in Blueprint Scripting

avatar image

lukas84
398 47 50 159

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Ok i gave up on this idea.

I will set the projectile velocity, which seems to be able to be modified on the fly..

For those who are unsure, how to set the projectile velocity to hit the target, i am using this:

Projectile -> get World Location
Target -> get World Location

then vector - vector (these two vectors)

and then Projectile -> Set Velocity in Local space = result of previous operation

L.

more ▼

answered Jul 21 '14 at 09:15 AM

avatar image

lukas84
398 47 50 159

avatar image NuKeR2k Sep 22 '15 at 09:49 PM

Hi Lukas, thanks for the advice. I read somewhere that you should only change the X value of the projectile movement (if I remember correctly). I've a similar issue with that. In my game two rockets are spawned (assembled on a ship). But I also can't transform the movement after spawning. Is the solution mentioned by you the common approach to handle this or are there other ways? Regards, NuKeR

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question