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

Make four motor6d DesiredAngles move in a sine wave?

Asked by 4 years ago
Edited 4 years ago

I have four parts with motors determining the pan of the part. I want the four parts to move in a sine wave formation using math. This is all I could come up with on my own.

v.Motors.Tilt.DesiredAngle = math.sin(workspace.DistributedGameTime*180)*2

This moves all four in a up/down direction but I need to split it up between the four and have it make the sine formation.

Answer this question