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"

Having trouble with my cover shooter!

Hello! :)

I'm working on a third person cover shooter I have a problem with the camera indicating the direction in which the character can go when the character is in cover.

When the player gets into cover, pressing A or D will move the character left or right. Pressing S will get the character out of cover. Which works well.

But If I move the camera alongside the cover (Pictured below) then pressing W or S should move the character along the cover and D should get the character out of cover cos it's the opposite direction of the cover. Which at the moment it doesn't do. The character control is still tied to A and D which would be confusing to the player.

![alt text][2]

The controls need to be based the way the camera is facing, so what ever way the camera is facing will be the forward control. While at the same time the character can only move along the direction of the cover.

This is my movement controls at the minute:

alt text

Any help would be much appreciated, hopefully my explanation is somewhat easy to understand. Thanks!

[2]: /storage/temp/104078-coverexample.png

Product Version: UE 4.12
coverexample.png (837.4 kB)
more ▼

asked Aug 23 '16 at 10:34 PM in Blueprint Scripting

avatar image

1 3 4

(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