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"

Line trace get bone name

Hey Guys

I’m trying to implement a projectile system in my fps shooter.

I have the following setup

BaseCharacter (Where my Mainplayer and enemy is inherited from) BaseProjectile (Where I’m trying to implement the damage)

When the BaseProjectile has an overlap, it checks whether this is of the BaseCharacter class and if so, it fires a line trace from the hit location, to obtain the bone name from the mesh. Whatever I have tried I cant seem to get a bone name from the mesh. Im using the free animation starter pack mesh with the physics assert.

I have attached a photo of the projectile blueprint, and of the collision settings in the following:

Projectile Blueprint alt text Projectile Sphere Collision settings

alt text

BaseCharacter Capsule Collision settings alt text

BaseCharacter Mesh Collision settings alt text

Product Version: UE 4.12
Tags:
more ▼

asked Aug 15 '16 at 05:41 PM in Blueprint Scripting

avatar image

Risager
38 3 5 8

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

3 answers: sort voted first

I know its a bit late but I thought I would answer in case someone came looking for an answer for how to get a bone name from line trace like I did. in the character mesh collision settings its set to ignore visibility traces I set that to block and it started working for me. I also tried setting the trace channel to camera but it just came back with the collision sphere so I gave up on that.

more ▼

answered Nov 19 '18 at 06:30 AM

avatar image

dreamofevil
6

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

I'd check the display name of the component you are hitting to make sure you're actually hitting a skeletal mesh. If you are in fact hitting your skeletal mesh, and you're still getting "None" back as a bone name, then something is seriously wrong. I suspect you're not actually hitting it though.

more ▼

answered Mar 28 '17 at 10:03 PM

avatar image

janimationd
427 20 96 123

(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