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"

Get new rotate forward

alt texthey guy this is my problem i got a system to make forward and rotate and keyboard button but the problem is when i rotate to 45 degree it dont want to go in that new direction

this is a system for turn based game

forward on 0 degree i need to get rotate on 45 degree and move forward on 45 degree

https://youtu.be/QVeP_6YxAu0 a video to the problem thanks in advance !

Product Version: UE 4.19
Tags:
more ▼

asked Sep 12 '18 at 09:35 AM in Blueprint Scripting

avatar image

Seikei
1 1 2

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

1 answer: sort voted first

In your "vector+vector" nodes instead of only using the X coordinate you should use your desired vector (in your case one at 45 degrees).

You can use "Get Controller Rotation" -> "Get Forward Vector" and use this in your "vector+vector" nodes. (Don't forget to multiply the Controller Forward Vector by your MoveSpeedForward)

more ▼

answered Sep 12 '18 at 03:45 PM

avatar image

dZh0
1.3k 6 5 10

avatar image Seikei Sep 12 '18 at 06:18 PM

dont seem to work can you show the exemple ?

(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