TransformPlayType

λ³€ν™˜ 컨트둀러 싀행방식을 κ²°μ •ν•˜λŠ” νƒ€μž…μ΄μ—μš”.

Enums

이름

μ„€λͺ…

Repeat

λ³€ν™˜ 컨트둀러λ₯Ό λ°˜λ³΅ν•΄μ„œ μ‹€ν–‰ν•˜λŠ” νƒ€μž…μ΄μ—μš”.

Tween

λ³€ν™˜ 컨트둀러λ₯Ό μ™•λ³΅ν•΄μ„œ μ‹€ν–‰ν•˜λŠ” νƒ€μž…μ΄μ—μš”.

-- μƒ˜ν”Œ --

local cube = Workspace.Cube
local moveSpeed = 2

cube.Track:AddLocalRot("Rot", Vector.new(0, 0, 360), moveSpeed) --νšŒμ „ νŠΈλž™μ„ λ“±λ‘ν•΄μš”.
cube.Track:AddLocalRot("Rot", Vector.new(0, 360, 0), moveSpeed) --νšŒμ „ νŠΈλž™μ€ μ—¬λŸ¬κ°œλ„ 등둝할 수 μžˆμ–΄μš”.
cube.Track:PlayTransformTrack("Rot", Enum.TransformPlayType.Repeat, InfinityPlay) --이름에 ν•΄λ‹Ήν•˜λŠ” νŠΈλž™μ„ μž¬μƒν•΄μš”.

Last updated