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"

How would i go about launching a character in their current rotation rather then world direction?

alt textI am trying to launch my character left or right, but it only launches the character left or right in World direction. My goal is to launch the character left or right of the character's current rotation, rather than world direction.

Product Version: Not Selected
Tags:
charlaunch.png (133.1 kB)
more ▼

asked Apr 12 '14 at 02:54 PM in Blueprint Scripting

avatar image

Jahmahn
18 4 7 9

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

1 answer: sort voted first

Just after your Get Control Rotation node, you can add a "Get Right Vector" to find the local right vector of your character ;)

more ▼

answered Apr 12 '14 at 03:00 PM

avatar image

Guedin
118 11 13 20

avatar image Jahmahn Apr 12 '14 at 03:24 PM

I can't figure out how to connect it properly to velocity. Connecting it straight to the velocity node does not work. If i connect it to velocity the 1000 movement value is no longer in the action. alt text

charlaunch2.png (129.6 kB)
avatar image Guedin Apr 12 '14 at 03:57 PM

The node "Get Right Vector" will give you a vector of a length of 1, you just have to multiply it by a value, depending how far you want to launch your character.

In my exemple, when I press the E key, my character will be lauched on 1000 unit to the right. Same thing with the Q key, but on the left ;)

alt text

temp.jpg (187.7 kB)
avatar image Jahmahn Apr 12 '14 at 04:10 PM

ur a boss, thanks alot, idk if u know the answer to my mouse problem but im having more trouble with that then the character launch.

avatar image Guedin Apr 12 '14 at 05:16 PM

Unfortunately I didn't play yet with mouse, sorry ;) Good luck

(comments are locked)
10|2000 characters needed characters left
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