{"id":"minefranck/bezierservice","name":"bezierservice","scope":"minefranck","platform":"roblox","description":"Mirrored from the Wally registry.","version":"0.2.0","latest":"0.2.0","versions":["0.1.0","0.1.1","0.2.0"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"cc19f4453505314373548d98423a12a507fb94870e7df98d2b6ddc74ae6f9159","likes":0,"downloads":0,"install":"forest install minefranck/bezierservice","url":"https://forest.dev/p/roblox/minefranck/bezierservice","files":"https://api.forest.dev/ai/package/roblox/minefranck/bezierservice/files","readme":"# BezierService\r\nSimilar to how roblox's TweenService works, but used to create Bezier Curves.\r\n\r\n## Wally Install\r\n```\r\nbezierservice = \"minefranck/bezierservice@0.1.1\"\r\n```\r\nLink: https://wally.run/package/minefranck/bezierservice\r\n\r\n## Service\r\n### Methods:\r\n#### Create\r\n```lua\r\nlocal info = {\r\n  Speed = 1      -- time in seconds the animation will play\r\n  Points = {}    -- an array containing Vector3's or Udim2's\r\n}\r\nlocal bezier = BezierService:Create(instance, info)\r\n```\r\nCreates a Bezier Object.\r\n\r\n## Bezier Object\r\n### Methods:\r\n#### Play\r\n```lua\r\nbezier:Play()\r\n```\r\nStarts playback of the Bezier path if it's not playing already.\r\n\r\n#### Pause\r\n```lua\r\nbezier:Pause()\r\n```\r\nYields playback. Calling ``bezier:Play()`` will resume from where it stopped.\r\n\r\n#### Cancel\r\n```lua\r\nbezier:Cancel()\r\n```\r\nStops playback. Calling ``bezier:Play()`` will start from the begining\r\n\r\n### Properties:\r\n#### Instance\r\nThe Instance whose position is to be changed.\r\n\r\n#### Info\r\n```lua\r\nlocal info = {\r\n  Speed: number,\r\n  Points: {Vector3 | Udim2}\r\n}\r\n```\r\nTable containing the Speed (in seconds) of the animation, and the Points position array containing Vector3 or Udim2 values\r\n\r\n#### Progress\r\nA float value between 0 and 1 that indicates the progress of the animation.\r\n\r\n#### Ended\r\nRoblox Signal that fires when the animation ends.\r\n\r\n#### IsPlaying\r\nBoolean value that indicates if the animation is playing or not.\r\n","readmeTruncated":false}