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"

Make actor move forward of spawn point

I am using the Vehicle learning project and I'm modifying it. I want to spawn an actor in front of my vehicle and want this actor to keep moving forward from its spawn point. I was able to make it move on the Y axis, but the problem is sometimes the Y axis is behind me and I want my spawned actor to always move forward of its spawn point.

alt text

My Turtle Speed is stetted to 10.0 Thank You for your help.

Product Version: UE 4.21
more ▼

asked Dec 06 '18 at 07:49 PM in Blueprint Scripting

avatar image

1 1 1

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

1 answer: sort voted first

when i understand this right

you should be fine with that:

alt text

qweqweqweqwe.png (130.9 kB)
more ▼

answered Dec 06 '18 at 10:42 PM

avatar image

324 14 3 10

avatar image Hard-Brooker Dec 07 '18 at 05:30 AM

Thank you. Now it's always moving according to its spawn point, but it's not going forward, it's going according to the Z axis downwards. I tried to multiply the Turtle Speed variable by a vector * vector and split the second node to only multiply it on the Y axis but it's moving slowly and in the wrong direction.

(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