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"

Increment movement

Hello,

This is my first post here and already posting a issue with a code.

Trying to make grid movement like in Might and Magic X.Players moves by grid in direction of camera and with Q and E user rotate the camera.

At moment I have a two movement scripts with different problems.

In image " WorkingMovement ", grid increment movement works. But when I press Q or E to rotate camera, player doesn't go in direction of camera.

In image " InputAxisMovement ", Q and E rotation works and players moves in direction of camera, but it doesn't have increment grid movement.

Does somebody have solution or right direction to this ?

Also posted all other code that I have and I'm using a First Person Temple.

Cheers,

alt text alt text alt text alt text

Product Version: UE 4.11
Tags:
workingmovement.jpg (181.9 kB)
workingmovement.jpg (181.9 kB)
q_e_rotation.jpg (136.5 kB)
checkturn.jpg (118.9 kB)
more ▼

asked May 22 '16 at 05:34 PM in Blueprint Scripting

avatar image

Half Done Soft
1 2 1

avatar image Half Done Soft May 24 '16 at 07:59 PM

Tried bunch of scripts, still goes relative to world rotation in " Working Movement " script.

Does somebody have solution to this ? How can I move relative to view from camera ?

Cheers,

(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