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"

Is there a trick to visualize hitboxes in order to help setting them up ?

Hello,

I basically try to setup a blueprint so that at the time a character hits, depending on the distance between his hand and the player, the player gets hit.

The distance calculation is the following (probably not the simplest way to do it but it works) :

alt text

What I basically do from then is compare this value to an arbitrary value and try it out. I guess approximately where the hitbox limit seems to be, and adjust it. It is very unpractical as I cannot see the actual "hitbox". What trick could I use to visualise that arbitrary distance around the socket at the time of the hit (a sphere of radius 2300 around the socket FX_hand_r of Self->Mesh in this example) ? Is there a proper way to do it ?

Thanks a lot for your help !

Product Version: UE 4.21
Tags:
distancehitbox.png (96.7 kB)
more ▼

asked Apr 13 '19 at 02:50 PM in Blueprint Scripting

avatar image

N0rgannon
36 1 2 4

avatar image N0rgannon Apr 13 '19 at 02:53 PM

Oh well, I literally just posted and I found "Draw Debug Sphere" that seems to match my description. I'll try it out right now.

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

1 answer: sort voted first

Draw Debug Sphere is the node I was looking for, it does the work just fine.

alt text

I feel a bit stupid for this question but I'll leave it up if someone asks google the same question as I did.

more ▼

answered Apr 13 '19 at 02:57 PM

avatar image

N0rgannon
36 1 2 4

(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