Line trace get bone name
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 Projectile Sphere Collision settings
BaseCharacter Capsule Collision settings
BaseCharacter Mesh Collision settings
asked Aug 15 '16 at 05:41 PM in Blueprint Scripting
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.
answered Mar 28 '17 at 10:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here