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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

how do i rotate my actor exact 180 degree

alt text I don't know why it's not working. If anyone can help me, I'm using this in sidescroller character movement. I want my character to move 180 when I press A/D key

Product Version: UE 4.15
Tags:
capture.png (185.7 kB)
more ▼

asked Jul 02 '17 at 04:31 AM in Blueprint Scripting

avatar image

KB_43
21 1 2 2

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

2 answers: sort voted first

First of all i think u are applying a logic which is a bit confusing ..!

  1. So first of all is your game 2d.?

  2. if yes then while pressing" A" play "flipbook animation" of character left, and right animation for "D"

  3. If you using 3D then also the same thing use animation for going left and right.

  4. But even if you still insist on making the character rotate 180 just use a Boolean "is left" keep a branch and check weather its left then turn 180. and if "is left " is false. then turn -180

more ▼

answered Jul 02 '17 at 08:17 AM

avatar image

Yohaan
1 1 3

avatar image KB_43 Jul 03 '17 at 05:16 PM

no, its sidescroller type game, a player can go only go forward and backwards. so when the player moves backwards he can turn 180 alt text

this how my game looks like.

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

get information from the forward vector

more ▼

answered Jul 04 '17 at 06:47 AM

avatar image

Vertigo23
296 7 6 15

avatar image KB_43 Jul 07 '17 at 07:43 PM

Can you show me in detail with the picture of blueprint

(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