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 can I attach a first person projectile bullet to the target object it strikes

Hi.

I'm firing a physical bullet out of the gun and it's striking a physical cube and knocking it away. I'd like the bullet to stick to the cube as it flies away. I'm using the first person demo that's given with UE4.

Thanks

Ron

Product Version: Not Selected
Tags:
more ▼

asked Oct 13 '14 at 06:16 PM in Blueprint Scripting

avatar image

GameDesigner
6 1 1 3

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

2 answers: sort voted first

Hello GameDesigner,

I believe this is the answer that you are looking for.

https://answers.unrealengine.com/questions/51764/stick-spear-projectile-into-npc-and-objects-when-t.html

I hope this helps.

Cheers

more ▼

answered Oct 16 '14 at 05:14 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

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

Move the bullet to the hit locaiton and use an "Attach to" node when the bullet hits with the "Keep Relative Offset" option selected. Also cancel any scripts that would destroy the bullet on hit.

more ▼

answered Oct 16 '14 at 04:27 PM

avatar image

alperenakyuz
2k 62 24 110

(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