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: CFrame

Previous Thread :: Next Thread 
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
22 Jun 2014 05:21 PM
Can someone explain how to do this?
script.Parent.CFrame = CFrame.new(5)
Basicly I want it to move in X but not in Y and Z
How do you do that?
Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
22 Jun 2014 05:27 PM
bump
Report Abuse
usfirepilot is not online. usfirepilot
Joined: 17 Jan 2013
Total Posts: 684
22 Jun 2014 05:31 PM
script.Parent.CFrame = CFrame.new(0,5,0)
Move on Y.
script.Parent.CFrame = CFrame.new(5,0,0)
Move on X
script.Parent.CFrame = CFrame.new(0,0,5)
Move on Z

-Its just roblox... Deal with it-
Report Abuse
drslicendice is not online. drslicendice
Joined: 05 Mar 2011
Total Posts: 18737
22 Jun 2014 05:33 PM
But that would move it under the baseplate
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
22 Jun 2014 05:34 PM
pos = Part.Position
x,y,z = pos.x,pos.y,pos.z

part.CFrame = CFrame.new(5,y,z)
Report Abuse
TrainingToTroll is not online. TrainingToTroll
Joined: 27 Oct 2012
Total Posts: 1757
22 Jun 2014 06:02 PM
Dr. If you have a problem where it moves then change it yourself. Seriously they arent gonna position it all the way for you.
Report Abuse
StrawberryEwok is not online. StrawberryEwok
Joined: 05 Dec 2009
Total Posts: 180
22 Jun 2014 06:08 PM
I have a model titled "Hint Stones" that should solve your problem.
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