rlewicki / MeleeTrace

Unreal Engine plugin that enables user to accurately trace melee hits in the game using interpolation between sockets defined directly on the character or weapon mesh.
https://www.unrealengine.com/marketplace/en-US/product/melee-trace
MIT License
40 stars 8 forks source link

StaticMesh support? #2

Closed coolzilj closed 8 months ago

coolzilj commented 8 months ago

Can you add support for StaticMesh?

rlewicki commented 8 months ago

Hey @coolzilj, this isn't really possible as there is no way to determine start and end location for the trace on a static mesh. If your weapon is a static mesh and there is no way you can convert it to a skeletal mesh you can add sockets to your main character's skeleton and match their position to the attached static mesh beginning and end.

coolzilj commented 8 months ago

https://docs.unrealengine.com/5.3/en-US/using-sockets-with-static-meshes-in-unreal-engine/ Actually we can add start and end sockets to StaticMesh as well.

rlewicki commented 8 months ago

Oh, I had no idea static meshes now support sockets! Thanks for sharing this, I will try to implement it this week and publish new version.

rlewicki commented 8 months ago

@coolzilj hey, just wanted to let you know that if you get latest version from master branch there will be support for a static mesh components. It will take a while until it's available on a marketplace. Thank you for making this request and making me aware that static meshes also support sockets! The more you know! :D

coolzilj commented 8 months ago

@coolzilj hey, just wanted to let you know that if you get latest version from master branch there will be support for a static mesh components. It will take a while until it's available on a marketplace. Thank you for making this request and making me aware that static meshes also support sockets! The more you know! :D

Appreciate your hard work.