Code for the ragdoll class CRagdoll.
#include "SageRandom.h"
#include "SageHelpers.h"
#include "Ragdoll.h"
#include "ObjectManager.h"
#include "SageSpriteRenderer.h"
#include "GameDefines.h"
#include "SageSound.h"
|
|
const float | fTorso = 170.0f |
| | Length of torso.
|
| |
|
const float | fShldrW = 90.0f |
| | Width of collar bone.
|
| |
|
const float | fShldrHt = 40.0f |
| | Height of collar bone.
|
| |
|
const float | fHipW = 42.0f |
| | Width of pelvis.
|
| |
|
const float | fHipHt = 40.0f |
| | Height of pelvis.
|
| |
|
const float | fLimb = 100.0f |
| | Length of limb segments.
|
| |
|
const float | fNeck = 78.0f |
| | Length of neck, obviously.
|
| |
|
const float | fElbow = 15.0f |
| | Elbows stick out this much.
|
| |
|
const float | fFeet = 5.0f |
| | Feet spread out this much.
|
| |