Hey there, I’m TrentaFX a Roblox Game Developer. Recently I’ve been looking around some of my creations and came across some unused one’s that I think could really help some people out or even learn from! Therefore I have decided to opensource this placement system.
The placement system is easy to set up and has a clean and organized code so you can modify it to all your liking. It includes boundries, ability to rotate, multiple items to place (can be customized) & much more!
Download the file, and drag the downloaded file into “workspace” or right click workspace and then press insert from file
Contact
If you’re interested in hiring me for a job or commission feel free to contact me by joining my server using code: RBvZ3e4Mkg or by simply leaving me a message here on the DevForum!
Every PVInstance (Position, Velocity) has a pivot point. Parts, models, unions etc. The pivot point is the origin of the PVInstance, meaning any manipulations done to the PVInstance will use that as the “center”, and maintain relative offsets of children.
This means: you can move the pivot point and rotate something around a different axis than what you normally do (which is rotate around the object’s center).
Now, when I rotate this model using the rotate tool, you can see we rotate from the pivot.
You can use this in your script by doing model:PivotTo(CFrame).
This will set the CFrame of the pivot point to the input CFrame, and move the rest of the model with it.