I'm fairly new to HaXe and I'm busy with a project for school in it. We want to have a ragdoll as the main mechanic. Preferably, we want to be able to freeze every limb separately, or either freeze the whole ragdoll in its entirety. I've attached the source code for this part of functionality in hope that someone here might be able to help me fix this.
I hope that someone here might be able to point me in the right direction.