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: Round RayCaster

Previous Thread :: Next Thread 
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
11 Feb 2015 09:53 PM

I tried making a gun that shoots round rays with a cylinder mesh but instead of having a ray that is round, I got a tiny cylinder(in the middle of where I clicked and my gun) that was facing up instead of facing the direction I clicked. Is it possible to rotate a mesh?

How to make gun that shoots round rays, not rectangle ones?
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
11 Feb 2015 10:04 PM
Not the mesh (to my knowledge) but you can with the part.
Report Abuse
blobbyblob is not online. blobbyblob
Joined: 29 Oct 2008
Total Posts: 12165
12 Feb 2015 12:15 AM
So there's a CylinderMesh and a SpecialMesh with Enum.MeshType.Cylinder, and they're oriented different ways. If you try the opposite, you might luck out and not have to change your code.


Otherwise, just rotate the part and swap its size properties.
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
12 Feb 2015 06:35 PM
That's the problem, I'm having trouble swapping the dimensions and rotating it.
How much degrees do I rotate it and on the x,y, or z? And which two dimension do I swap.
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