local s=Vector3.new(0,0,0)local Z=true local e=.75 local W=.5 local X={LIMBS=2,MOVEMENT=3;CORNERS=4;CIRCLE1=5,CIRCLE2=6,LIMBMOVE=7;SMART_CIRCLE=8,CHAR_OUTLINE=9}local P={Head=true;["\076\101\102\116 \065\114\109"]=true;["\082\105\103\104\116 \065\114\109"]=true,["\076\101\102\116 \076\101\103"]=true,["\082\105\103\104\116 \076\101\103"]=true,LeftLowerArm=true,RightLowerArm=true;LeftUpperLeg=true;RightUpperLeg=true}local c={Vector3.new(1,1,-1),Vector3.new(1,-1,-1);Vector3.new(-1,-1,-1);Vector3.new(-1,1,-1)}local b=10 local n=3 local E=24 local o=(2.0*math.pi)/E local r=24
--[[ Constants ]]
--
local ZERO_VECTOR3 = Vector3.new(0, 0, 0)
local USE_STACKING_TRANSPARENCY = true -- Multiple items between the subject and camera get transparency values that add up to TARGET_TRANSPARENCY
local TARGET_TRANSPARENCY = 0.75 -- Classic Invisicam's Value, also used by new invisicam for parts hit by head and torso rays
local TARGET_TRANSPARENCY_PERIPHERAL = 0.5 -- Used by new SMART_CIRCLE mode for items not hit by head and torso rays

local MODE = {
	--CUSTOM = 1, 		-- Retired, unused
	LIMBS = 2, -- Track limbs
	MOVEMENT = 3, -- Track movement
	CORNERS = 4, -- Char model corners
	CIRCLE1 = 5, -- Circle of casts around character
	CIRCLE2 = 6, -- Circle of casts around character, camera relative
	LIMBMOVE = 7, -- LIMBS mode + MOVEMENT mode
	SMART_CIRCLE = 8, -- More sample points on and around character
	CHAR_OUTLINE = 9, -- Dynamic outline around the character
}

local LIMB_TRACKING_SET = {
	-- Body parts common to R15 and R6
	["Head"] = true,

	-- Body parts unique to R6
	["Left Arm"] = true,
	["Right Arm"] = true,
	["Left Leg"] = true,
	["Right Leg"] = true,

	-- Body parts unique to R15
	["LeftLowerArm"] = true,
	["RightLowerArm"] = true,
	["LeftUpperLeg"] = true,
	["RightUpperLeg"] = true,
}

local CORNER_FACTORS = {
	Vector3.new(1, 1, -1),
	Vector3.new(1, -1, -1),
	Vector3.new(-1, -1, -1),
	Vector3.new(-1, 1, -1),
}

local CIRCLE_CASTS = 10
local MOVE_CASTS = 3
local SMART_CIRCLE_CASTS = 24
local SMART_CIRCLE_INCREMENT = 2.0 * math.pi / SMART_CIRCLE_CASTS
local CHAR_OUTLINE_CASTS = 24
