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

Base components of a randomly generated obby? [closed]

Asked by
zomspi 541 Moderation Voter
4 years ago

How would I make a randomly generated obby? Please do not make it for me all I want is te base information.

Closed as Not Constructive by Gojinhan, Leamir, Fifkee, and BlueTaslem

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 4 years ago

Primary Parts! - I would highly recommend you look into "PrimaryParts". In this sense, you can have multiple fragments of obbies that have connecting pieces connected to other connecting pieces of different obbies.

Like a puzzle piece! A Connect-The-Dot Concept with multiple dots!

You can set the PrimaryPartCFrame of one obby fragment and connect it to the primarypart of another!

How Does it Work? Simply have a fragment of an obby and make it into a model. Find a point in the obby that you can connect to the points of other obbies and place a part in this Coordinate Frame. Within the model properties, there is a property called "PrimaryPart". Set the primary part to this connecting part.

Store all Obby parts within a folder and make a random number generator to choose which obby is connected to where (math.random()) and use :SetPrimaryPartCFrame(CFrame Value) to set the primary part position of the model (which practically moves the whole model with it!)

Resources -

https://developer.roblox.com/en-us/articles/positioning-objects https://developer.roblox.com/en-us/api-reference/property/Model/PrimaryPart

Ad