I have a mesh. I want to create sphere trace around that mesh… Mesh have a location, it have a rotation. I know its height and radius. I want to get starting and ending point of mesh. how can I acheive this? As you can see the sphere trace currently not doing in sword swinging location
You could try putting a socket on the tip of the sword. That way, you’ll always know exactly where the tip is because you can get the socket by name and retrieve its location.
Create a component lie the sphere and use “get component bounds” node.
It takes in the component and gives you the origin, box extent, and sphere radius.
1 Like