generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: how do increase the number of vertices in a sphere?

Previous Thread :: Next Thread 
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 05:11 PM
HELP!!!
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 05:35 PM
So I am assuming that you are making your own? If so I have just what you are probably looking for... -- ### ## ###### a brick and you will most likly see what I mean local Segments = 6 --Vertices local Radius = 5 for i = 1,Segments do local Part = Instance.new("Part",game.Workspace) local Theta = math.rad(i)*(360/Segments) Part.Anchored = true Part.Size = Vector3.new(1,1,1) Part.CFrame = script.Parent.CFrame * CFrame.new(math.cos(Theta) * (Radius*2), 0, math.sin(Theta) * (Radius*2)) end
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 05:35 PM
ok so ignore that last post cause hashtags


Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 05:36 PM
local Segments = 5 -- Vertices
local Radius = 5

for i = 1,Segments do
local Part = Instance.new("Part",game.Workspace)
local Theta = math.rad(i)*(360/Segments)
Part.Anchored = true
Part.Size = Vector3.new(1,1,1)
Part.CFrame = script.Parent.CFrame * CFrame.new(math.cos(Theta) * (Radius*2), 0, math.sin(Theta) * (Radius*2))
end




Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 05:36 PM
^

I am assuming that is what you want...




Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 06:55 PM
it doesnt work
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 06:57 PM
###################################
Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 06:58 PM
try again lol
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 06:58 PM
Ok so I can't use the words: # # # ## ###### So... Did you put the script into a part?
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 06:59 PM
##############################################
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 06:59 PM
wtf


Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:00 PM
lel
Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:00 PM
oh i put it into a part?
Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:00 PM
lemme try again

Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 07:01 PM
Yes.


Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:04 PM
so i tested and its a ring not a sphere
Report Abuse
MK_0 is online. MK_0
Joined: 28 Aug 2010
Total Posts: 1651
23 Nov 2016 07:08 PM
Oh, now you see I read wrong.


Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:10 PM
?
Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:11 PM
?



Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:18 PM
plz help!


Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 07:27 PM
help!!! :C


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
23 Nov 2016 08:08 PM
spheres dont have vertices?


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
jojo8764 is not online. jojo8764
Joined: 27 Nov 2012
Total Posts: 1239
23 Nov 2016 08:09 PM
SPHERES HAVE VERTICES AND I KNOW HOW TO SCRIPT


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
23 Nov 2016 08:10 PM
ooook

can you point out a vertex on a sphere for me


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
23 Nov 2016 08:11 PM
He meant the sphere in Roblox, there not perfectly rounded as in real life. Otherwise, I have no clue.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image