Frustum Culling Fix

The mesh of my ragdoll character kept disappearing, then reappearing again. I learned this had something to do with the camera not sensing the origin of the Armature of the ragdoll mesh. I couldn’t find any solid answers online. But i came up with a simple solution to keep the ragdoll mesh consistently visible. All you have to do is make the ragdoll’s armature obj copy the location of the actual ragdoll that simulates the physics of the armature. And it is best to use the most centrally piece of the ragdoll, like the torso or the hips, so that the armature’s origin always stays near the center of the mesh. It’s a simple solution but I couldn’t find it anywhere. So for the sake of documentation:

Armature.position = ragdollTorso.position