Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Ultimate Roblox Game Building Cookbook

You're reading from   The Ultimate Roblox Game Building Cookbook Design immersive experiences with easy-to-follow recipes for world and game development

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781805121596
Length 218 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Taylor Field-Draper Taylor Field-Draper
Author Profile Icon Taylor Field-Draper
Taylor Field-Draper
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Chapter 1: Getting Started with Studio Modeling FREE CHAPTER 2. Chapter 2: Introduction to Solid Modeling and CSG Tools 3. Chapter 3: Sculpting Terrain 4. Chapter 4: Learning to Use VFX 5. Chapter 5: Building a Multiplayer Obby 6. Chapter 6: Designing a House 7. Chapter 7: Single-Player Map Flow 8. Chapter 8: Building a PvP Map 9. Chapter 9: Monetizing Your Experience 10. Chapter 10: Extra Building Recipes 11. Index 12. Other Books You May Enjoy

Building cactuses

Creating smooth yet optimal rounded ends can sometimes be a challenge on Roblox. In the following recipe, we will build a variety of cactuses through a workflow method that allows you to line up the rounded corner edges seamlessly together. We will be working with both cylindrical and spherical parts to give the cactus a proper non-blocky shape and will then learn how to rapidly create new variants of the original model. We will complete the recipe by applying differing colors and materials to give each cactus its own distinct look.

How to do it…

We will be building the body and arms out of cylinder parts. We will then then use spheres to round the elbows on the cactus arms. Finally, we will apply color and material to the model. To begin this recipe, follow these steps:

  1. Start by navigating to the Model tab and selecting the Part drop-down arrow. Next, select the Cylinder option to insert a cylinder part onto the baseplate.
  2. Rescale the cylinder part to your desired height. In this example, the cylinder part being used is 12 studs tall and 2 studs wide. This will be the body of the cactus.
  3. Next, duplicate the body.
  4. Rotate the duplicated part 90 degrees so that, together, both parts create a t shape. This creates arms for the cactus, which you can rescale to differing lengths.
  5. Next, we will be creating three spheres to fit on both ends of the arms and the top of the cactus. First, we need to get the size of each sphere. To do this, select a part on the cactus and copy the number in the Size input box within the Property tab.

    For this example, the cactus body part size is 12, 2, 2, so the sphere should be scaled 2, 2, 2, as that is the proportionate size:

Figure 1.5: Ensure there is no crease between the ball and cylinder

Figure 1.5: Ensure there is no crease between the ball and cylinder

  1. Next, insert a sphere part and paste the dimensions that you copied in step 5 into the sphere’s Size box, found inside the part’s Properties box.
  2. Duplicate the sphere three times and move the added spheres to the ends of both arms and the top of the cactus, as seen in Figure 1.6.

    If you’re having trouble placing the sphere in the center, copy the numbers in the Position box of the arm or body of the cactus and then paste the position number into the Position box of the sphere. This will center the sphere exactly in the middle of the arm or body, leaving you with something similar to Figure 1.6:

Figure 1.6: Finished basic model of the first cactu.

Figure 1.6: Finished basic model of the first cactu.

  1. Now, duplicate the body of the cactus and move it along one of the arms to be flush with the spheres that we previously placed on the ends of each arm, creating a rounded elbow.
  2. Next, duplicate the sphere of the arm that you just placed a cylinder part onto and move it up to round the top of the cylinder part.
  3. Select all of the parts of the cactus and then anchor them.
  4. With all of the parts of the cactus still selected, group them together by pressing Ctrl + G.
  5. Next, rename your model Cactus from the explorer’s Workspace or the Properties box of the model.
  6. Now, select all the parts in the model and change the color to (127, 142, 100).
  7. Finally, change the material of all parts to Grass to finish your cactus model.

This completes the final step of the recipe and should leave you with the knowledge to work with sphere parts as well as to create clean elbow bends without getting misaligned seams:

Figure 1.7: Various cactus styles

Figure 1.7: Various cactus styles

There’s more…

The Move tool (Ctrl + 2) and the Rotate tool (Ctrl + 4) can be set to move or rotate in increments by typing a number into the Rotate and Move fields found under the Snap to Grid section of the Model tab. This allows for consistent placements of our parts. When doing this, it is best to move parts with increments that can be multiplied into whole numbers such as 1; for example, 0.1, 0.25, 0.5, 1. Use increments that add up to 360 when using the Rotate tool, such as 5, 15, 30, 90. This helps keep things aligned and scale better.

You have been reading a chapter from
The Ultimate Roblox Game Building Cookbook
Published in: Dec 2023
Publisher: Packt
ISBN-13: 9781805121596
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime