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"

Controller states

Hello guys !

I've finally decided to ask my problem here, after many pages of google and many UE4 post on the forum.

I have made a third person camera (I know, again the cameras !) like in gears of war, strafing left and right, everything working perfect.

I asking me how can i handle differents state, explain : When the pawn is not moving, the camera orbit around like the "Third person template", when it's moving, the player strafe left and right. (like a mass effect camera, or the division)

Thanks in advance for your help. Sorry for maybe bad english, i'm a frenchy :s

Product Version: UE 4.10
more ▼

asked Feb 18 '16 at 10:31 AM in C++ Programming

avatar image

6 1

avatar image remicroft Feb 19 '16 at 06:32 AM

Hi again,

I'have made a code that working partially, when i move the character strafe left and right like i want but is not backwarding, is facing the camera. Here is what i write : (I can give you the full .cpp if you want).

 void AMyProjectCharacter::Tick(float DeltaTime)
     if (bIsInMOVE)
         bUseControllerRotationPitch = false;
         bUseControllerRotationYaw = true;
         bUseControllerRotationRoll = true;
         bUseControllerRotationPitch = false;
         bUseControllerRotationYaw = false;
         bUseControllerRotationRoll = false;
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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