how to animate with bones

GTA:V Modding with ZModeler3 discussion.
Post Reply
andreas132z
Posts: 81
Joined: Sun Apr 30, 2023 5:47 pm

how to animate with bones

Post by andreas132z »

hi, i want to do a roof animation soft, and idk how to use bones, how to attach bone to a mesh, extrude the ones and use weight paint, its there a tutorial or smth?
User avatar
Oleg
Site Admin
Posts: 14990
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: how to animate with bones

Post by Oleg »

I can't remind any tutorial on this specific subject. There were some rigging guides on suspension, these can apply to roof rigging too. In general, any rigging tutorial will apply.

However, all vehicle's shaders are constrained to just one bone per vertex, so you can't make soft rigging when multiple bones affect the vertex - only the bone with highest rigging weight will affect the vertex. Bear this in mind when rigging a model for GTA or making the mesh topology - high-detailed surfaces will suffer bad animations when animated due to this limitation.

As an example - you can't make spring for soft suspension as a fully 3D object with lofted cross-section revolved along the path. This object can't be rigged to compress/relax on suspension movement. Instead, such springs are made as cylinder with no cross-sections (only top and bottom cap sections) where top is rigged to "chassis" and bottom is rigged to "suspension" bone. Hard rigging can stretch/compress this cylinder just fine (by moving top and bottom groups of vertices up/down).
Post Reply