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"

Offsetting a Spawned Actor?

Hello Everyone,

im new to Blueprinting and all the logic behind it,

i have manged to make Character to Spawn an explosion on his location but i'd like to offset this explosion in the Y Direction but im not quit sure

i tried vector addition but its not working ..

Best Regards, Ajeebalt text

Product Version: Not Selected
Tags:
question 1.png (90.9 kB)
more ▼

asked Apr 20 '14 at 04:35 PM in Blueprint Scripting

avatar image

MrHero
51 2 6 7

avatar image Shadowriver Apr 20 '14 at 04:52 PM

Everything looks ok for me, maybe 25 is too small to see the diffrence?

avatar image MrHero Apr 20 '14 at 05:13 PM

yeh i figured that out after >><< Thanks a lot brother =D

avatar image MrHero Apr 20 '14 at 05:15 PM

it's spawning without considering the direction of where the character is facing,

any ideas?

avatar image nopunintendo Apr 21 '14 at 01:56 AM

You can use the "Get Actor Forward Vector" node to get the direction the actor is facing. Then multiply that by the amount you want to offset, and add that to the actor's location.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So 25 is too small; p

As for rotation, you can rotate a offset vector based on rotator which you can get using "get actor rotation", not sure how it is called in blueprint just search rotate

more ▼

answered Apr 20 '14 at 05:31 PM

avatar image

Shadowriver
37.8k 937 172 1123

avatar image MrHero Apr 21 '14 at 12:03 AM

i have tried the get actor rotation right in that rotation node, surprisingly it did nothing ..

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