• Runtimes
  • [UE4} How to set up Bone Follower?

  • Изменено
Related Discussions
...

Hello. I'm currently working in UE4 and trying to have a 3D Model of a box snap to the bone follower on my Spine character. I've included a screenshot of the blueprint that I'm trying to get to work.

If I use Attach Actor To Component with the parent be the Spine Bone Follower or use Attach Actor to Actor and make parent the the player, both place the box at waist level (where the root bone is). Not sure what I'm doing wrong.

Below is my setup in Spine and the result in-game.

Any help is greatly appreciated. Thanks!

-Ben


I was able to open the UE4 example file. Level 4 says that it uses the bone follower component. When I play that level, the cone stays at the bottom of the screen (unless that is the laser coming off the gun). I also don't see any reference to the bone follower in the "Controlled Spineboy_Blueprint" and there isn't any blueprint associated with the cone. I see now that the bone follower component gets added to the object and not the player. I tried that in my game, but it isn't letting me reference the player's blueprint in the bone follower settings. It just goes back to None when I select the player. Not sure what I'm doing wrong.


Update: Turns out I couldn't access the bone because the skeleton-data file wasn't updating when I would reimport. Attempted again and UE4 would just keep crashing. I eventually reimported to a new folder and assigned the new data file to the existing Spine character.

My problem now is that the object moves to the bone follower location, but just stays there and doesn't follow the character as he moves. It just stays in the original spot on in the level (floating in the air). Hoping someone can help. (also, if I assign it to the bone that is at the waist, it works. Just in the wrong position.)

Thanks, @Mario. I'm currently using PaperZD in conjunction with Spine 2D. I started a new project with only Spine to try and test it. When I setup the Bone Follower, it went to the correct location, but wouldn't let me move the character any more. When I deleted the Bone Follower, I still couldn't control the character. I had to "Undo" my way back to before the first time I added it.

Not sure if that helps, but thought I would let you know. Thanks for your help.

That the character that follows a bone can't be moved is by design though. The whole point of bone following is that the character you attach to a bone sticks to the bone. So a change in its position will be overwritten by the bone following mechanism.

My apologies. What I meant was I tested it by creating a sphere, put the bone follower on that, targetted it to the Spine character and the bone called "Hold". After I set it up, the Spine character stopped being able to move around the level. It would only mirror based on if I went left or right with the control stick. Hope that makes more sense.