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

Parallel hover board?

Asked by 8 years ago

I am pretty much making a hover board, and I need to make it have it always rotating so it is parallel to the ground under it. I need to have it so it will rotate to terrain, wedges, etc. Anybody know how to do this?

2 answers

Log in to vote
0
Answered by 8 years ago

Going off my head, a simple method is to have 2 parts. 1 is what the entire model(hover board) is welded too, the 2nd uses a touch script which when touched changes the cframe angle of the 1st part. If you don't quite understand what I mean, I can work on a prototype model for you to use and edit to your liking.

Ad
Log in to vote
0
Answered by 8 years ago

To stabilize the board, Look into BodyGyro. This object, when placed in a part, allows you to alter its rotation in a smooth manner.

To find out what part's below you, check out Raycasting. If you place the endpoint of the ray below the board, and make it go downwards, you can find the closest part below the board.

To rotate the board as the part is rotated, check out how to use CFrames.

Answer this question