Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[SOLVED]How to make something like LineRenderer from Unity but in Roblox with a part?

Asked by 5 years ago
Edited 5 years ago

I am trying to recreate a game where 3 coins are placed in a triangle, and you have to move one of them in between the other 2 coins, and I already figured out the moving bit, but i'm having trouble with the part where you have to move the coin between the other coins. I had an idea to check if the coin has been moved between the other two by connecting all of the coins by rectangular parts that are always "attatched" to the coins, and if one of those coins touches the part, it counts as a point. But the prblem is, i don't know how to code those coin-connecting parts. The rectangular part should work something like LineRenderer from the Unity engine. Thanks for the help. Link to an image that might help you with understanding the issue here

0
Unity is not roblox, there is a render stepped. That is all I know though greatneil80 2647 — 5y
0
You can get the angle at which the coin is at relative to the two other coins and check if that angle is either on the left or the right side, and just check this at every interval Overscores 381 — 5y

Answer this question