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"

Bind velocity values and directional values to separate input keys.

(( Basic summary of what I want to achieve:: Example with WASD controls. Pressing W causes the creature to gain velocity. A and D adjusts the direction of the creature. Pressing D causes the creature to gain negative velocity, e.g. walks backwards. OR makes the creature come to a halt, e.g brings down velocity to a minimum of 0 ))


Hello! Building a setup for 3rd person character movement with help of the neat tutorial. However, the setup in the tutorial allows the player to turn, or flip, 180 degrees when pressing the opposite movement key. I want to prevent that.

I have a quadrupedal character, and turning 180 degrees in place is very unnatural for a creature with such a long body. So at maximum I would like to allow 90 degree turns. I've been trying to find a solution to this but I am very new to any kind of coding or game implementation so I am having a hard time to figure it out. Many people have solved this kind of issue with having the camera control the direction of the character at all times. I'd like that too, but to a limit. When the character isn't moving I want it to keep still and not turn to face where the camera is looking. I would also like to be able to rotate the camera slightly while running to be able to look at the creature sideways while it is moving.

What I want to achieve is very similar to how controls and camera works for mounts in certain games. A very good example is the MMORPG WildStar. But many games featuring creature mounts seems to work like this. Example with WASD controls. Pressing W causes the creature to gain velocity. A and D adjusts the direction of the creature. Pressing D causes the creature to gain negative velocity, e.g. walks backwards (Does not make a complete turn).

What I am asking is how do I set up this kind of control? The tutorial features that all the WASD keys gives velocity gain and direction.

Product Version: UE 4.14
Tags:
more ▼

asked Apr 21 '17 at 10:22 AM in Blueprint Scripting

Crazzity gravatar image

Crazzity
1 1

(comments are locked)
10|2000 characters needed characters left

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