|
Custom hitbox aimspot (non-center one)
Im struggling with problem of setting aimspot of hitbox capsule I can only aim at center right now.. Want to adjust it by Z and XY values here is my code:
if (pEntity->SetupBones(matrix, 128, 0x100, 0.f)) mstudiobbox_t* hitbox = set->GetHitbox(iHitbox); if (hitbox) Vector vMin, vMax, vCenter, sCenter; if (r != -1.f) return vCenter = Vector((vMin.x + vMax.x) * ((double)cvars->ragebot_aim_hitbox_offset_xy / 10.0)), and whenever Im setting my values to other than 0.5 aimbot is going crazy and is shooting in the air? How to aim for example at left-bottom side of hitbox? |
|