Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[SOLVED] Blender Rigged Props Do Not Move With Animation

A topic by 9lives-K9 created Sep 09, 2024 Views: 172 Replies: 5
Viewing posts 1 to 4
(3 edits)

I have a sword prop that I already added a constraint and attached it to my models right hand as a child, this worked and was done in blender.


I then exported the model as a GLB and imported it into PixelOver, the sword dose not follow the right hand and just stays in the same position, after tinkering around I found that there is a way to edit the bones and add a contraint and target from pixel over but I could not find the sword amongst the hierarchy.

I think that I'm doing something wrong and I assume that you can import the models and add a constraint in pixel over, lets say a sword that gets added as a child of the character models armature and is attached to the models right hand like how you do it in blender but I'm a bit stuck and don't know how to do this or even load up 2 different models into the same scene in pixel over.

I also noticed that you can import a blender project directly into pixel over but I have not yet tried this and will do so after posting this issue, I could not find any help or documentation on how to set up a prop but I'm sure its there somewhere if I look around more but I would appreciate if anyone could help me understand what I am doing wrong and how to best use props in pixelover rigged 3d models.

Incase you know how to solve this issue or can post a link to documentation explaining how to use a prop and add it as a constrained item as a child of a rigged 3d model the please share.

Thanks.

Hi, is your animation works correctly on blender ?

Yes it dose 

Is it possible to get your file for testing ? Maybe through discord (Deakcor) ?

SOLVED:

Here is what I learned.

So, the solution was actually very simple and intuitive,

Don't bother with setting up props in Blender, all this can be done in PixelOver itself and its a lot easier than blender.

1. After setting up your rig, I use mixamo animations for the character, select your 3d character and make sure Edit Bones is enabled.

2. You should see your bones listed out in the hierarchy like in the screenshot above

3. Open up your prop in pixel over and copy and paste that 3D model into your pixelover project with the rigged character.

4. All you then need to do is change the transform for your prop so it lines up how you want for at least one frame in any animation, I used the sword casting mixamo animation and set the sword in the right hand facing the direction of the strike, this takes up the most time and you need to change the scale, position, rotation e.t.c until your satisfied, you can also adjust the bones lets say for the thumb so it grips the sword better but that's optional if you might have low res pixel art that doesn't need that much precision.

5. Then you drag the sword 3D model (the prop) to become a child of the bone you want it to follow, here I dragged it to the right hand mixamo bone, note that by default all objects will follow the parent as children so unlike in blender you don't need to go through extra settings to create a constraint or inverse kinematics (although that's also there in the settings of pixelover) and by default it should just work perfect.

Side Note:

I have two instances of the katana, one in the right hand for when its drawn and another in its case that is a child of the characters spine bone for when its seathed.

I then hide and show the katana for when I want to export it for attacks in the right hand and for when its not being used in its case and export the animations picking each animation accordingly.

If you hide the bones the katana wont show but for placement you can set it outside of the bones if you don't want to see them and then place it back so it follows that bone throughout the animation.

Hope this helps anyone else with this same issue.

Thanks for making this Official Tutorial on how to edit bones.