A glitch from a weapon mod I made.
If you know of any issues with animations not playing or guns falling apart while shooting, please let me know. I don't know what is causing it. It doesn't usually occur. However, when the wanted level rises and the gunfight begins, this bug occurs frequently.
I'm using blender. Here are the tutorials I used to help solve the problem.
@Civilian I haven't been able to resolve this issue yet, but the details of the cause may be as follows.
When multiple weapons appear on the field in the game.
A problem occurs with the parent-child relationship of node.
For example, a combination of "Clip node" and "FlshLasr node" occurs. If you play the reload animation in this state, the bipod will move along with the magazine. Also, when the shooting animation is played, a problem occurs in the rotation axis of the node, causing the gun body to rotate.
When creating a mod, I use blender to separate the mesh into parts and export them as obj. When assigning nodes in zmodeler3, perform the following steps: Duplicate the node affected by the animation and rotate it 180 degrees on the X axis. Build it as a child node. Alternatively, I tried a pattern of duplicating the node and then copying the coordinates. If I could fix it without copying the nodes like the official one, it might solve the problem, but I don't know how.
It's as annoying as a headache and the reason I'm not motivated.