198
198
KX_ArmatureSensor* sensor = static_cast<KX_ArmatureSensor*>(self);
199
199
if (sensor->m_gameobj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE) {
200
200
BL_ArmatureObject* armobj = (BL_ArmatureObject*)sensor->m_gameobj;
201
201
BL_ArmatureConstraint* constraint = armobj->GetConstraint(sensor->m_posechannel, sensor->m_constraintname);
203
203
return constraint->GetProxy();