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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Question been troubling me...

Previous Thread :: Next Thread 
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 02:59 PM
how do you make a cylinder that was instances by a script, taller in the flat side? Anyone recommends meshes? If so please post their links.
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 03:13 PM
Bump.
Report Abuse
QuestLog is not online. QuestLog
Joined: 21 Nov 2009
Total Posts: 74
29 Mar 2015 03:14 PM
What do you mean with flat side?
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 03:15 PM
A cylinder has 2 flat sides, but once you try expanding it, the whole cylinder grows....
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 03:30 PM
Bump.
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
29 Mar 2015 03:36 PM
You want a cylinder that's taller then it's wide? If so, I think meshes are your only option. :/
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
29 Mar 2015 03:39 PM
Oh. maybe I know a trick to do it without meshes. (haven't tried)

- Set the part's shape to block.
- Resize the part to the desired size
- Set the part's shape to cylinder again.

Not sure if that works, but you could try.
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 03:39 PM
I thought so, do you know a link to any?
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
29 Mar 2015 03:56 PM
"a link to any"

any what?
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 04:00 PM
Player-created cylinders.
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
29 Mar 2015 04:07 PM
Why not change the Y scale of the mesh?
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 04:22 PM
That's what I'm saying, if I changed either the x, y, z, scales, the cylinder will still grow larger in every direction.
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
29 Mar 2015 04:24 PM
local p = Instance.new('Part', workspace)
Instance.new('CylinderMesh', p).Scale = Vector3.new(1, 3, 1)
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 04:25 PM
Are you sure that makes it grow taller? Because I don't think cylinderMesh works as well.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
29 Mar 2015 04:26 PM
Get a normal part, and add a CylinderMesh (the actual object) into it. Then change the scale property of the mesh. This will achieve exactly what you want.
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 04:27 PM
Ok I'll try that.
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
29 Mar 2015 04:37 PM
Isn't that what I said?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
29 Mar 2015 05:26 PM
@Jimmy Yes, but I simply said it better :)
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
29 Mar 2015 10:40 PM
Warspy, How can I do add the CylinderMesh when I am scripting? I did it before, but I didnt really save the code since it didn't work for me.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
29 Mar 2015 10:43 PM
local mesh = Instance.new("CylinderMesh");
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
29 Mar 2015 10:44 PM
local mesh = Instance.new("CylinderMesh", partToAddTo)

pretty much what the other guy said before
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
06 Apr 2015 07:46 AM
Ok thanks
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