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 » Scripting Helpers
Home Search
 

Re: CFraming.. uh

Previous Thread :: Next Thread 
Orced is not online. Orced
Joined: 08 Apr 2010
Total Posts: 1301
27 Apr 2014 08:10 AM
a.CFrame = a.CFrame + Vector3.new(l1, l2,l3)
a.CFrame = a.CFrame * CFrame.Angles(math.rad(l4), math.rad(l5), math.rad(l6))

don't mind l1-l6, they random numbers.

So my problem is that I can NOT combine these 2 lines to make them work properly. I need my "a" part to be moved some studs away and rotated absolutely randomly. (That's why I included l1-l6 as random numbers)

But whether I try to combine these 2 lines, a part disappears (Maybe it has been position somewhere else which messes up the whole thing) or just... no idea. Is there a solution? or at least another way to rotate a part?
Report Abuse
Orced is not online. Orced
Joined: 08 Apr 2010
Total Posts: 1301
27 Apr 2014 08:21 AM
bump
Report Abuse
HeavenlyRobloxrox3 is not online. HeavenlyRobloxrox3
Joined: 02 May 2012
Total Posts: 101
27 Apr 2014 08:48 AM
I'm sorry. I'm a noob at CFraming too. I really need to learn...
Report Abuse
TheProgrammingMaster is not online. TheProgrammingMaster
Joined: 20 Aug 2011
Total Posts: 7602
27 Apr 2014 08:54 AM
In studio you can set Collision check to false.
Report Abuse
FlamesOfHatred is not online. FlamesOfHatred
Joined: 24 Apr 2014
Total Posts: 90
27 Apr 2014 08:57 AM
yup
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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