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"

[2D] Shot-Sprite clips some Pixels through Wall-Sprite

Hey Guys, I've got a Problem with a "Bullet" my Player is schooting. The Bullet should stop flying and play a destruction Flipbook when it hits a wall or somthing. But it looks like this:

http://puu.sh/pqahs.PNG

The Red Line should be the Area where the Animation starts and the bullet stops. The Black Line in the blue Circle is the area where it finaly happens.

Here is the Blueprint, that should stop the bullet: http://puu.sh/pqauW.jpg

Sometimes its working sometimes its not: http://puu.sh/pqaAZ.jpg

I am sry 4 my english!

Product Version: UE 4.12
Tags:
more ▼

asked Jun 12 '16 at 05:49 PM in Blueprint Scripting

avatar image

Dr.Marksman
1 1

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

1 answer: sort voted first

Depending how fast the bullet is flying the overlap might not actually fire immediately. There is a way to increase the accuracy but it burdens the system quite a lot.

Try removing the delays, if the problem persist then what I described is likely your problem. Also, why do you have a delay at the end? That doesn't do anything.

If the problem is with overlap you can try using a line trace instead, tracing as the bullet moves for the wall. Traces aren't expensive at all and they're accurate, but do require a little extra work.

more ▼

answered Jun 12 '16 at 11:05 PM

avatar image

Distul
536 33 22 39

avatar image Dr.Marksman Jun 13 '16 at 12:03 PM

The delay at the end is just there, because i am going to destroy the actor after hitting the wall. THX for your help!

(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