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
 

Is there a

Previous Thread :: Next Thread 
SoberPain is not online. SoberPain
Joined: 25 Oct 2010
Total Posts: 841
18 Nov 2015 02:02 PM
way to move a model, in a script? Like an actual model, either to a set position *like a part*
or to a vector3.new which i cant get to work.
Report Abuse
62GB is not online. 62GB
Joined: 03 Oct 2011
Total Posts: 4157
18 Nov 2015 02:21 PM
Absolutely! I like to use SetPrimaryPartCFrame, GetPrimaryPartCFrame, and yeah.

Start off by setting the PrimaryPart of your model. You should know how to do this. This part will be the 'center' of your model. Then, use a while loop or something to experiment with SetPrimaryPartCFrame. Here's a little example:


--script.Parent refers to a model

script.Parent:SetPrimaryPartCFrame(script.Parent:GetPrimaryPartCFrame() * CFrame.new(0,0,0)) --you can use fromEulerAngles, Angles, or a regular CFrame..
Report Abuse
Qorm is not online. Qorm
Joined: 25 Jul 2010
Total Posts: 1650
18 Nov 2015 02:32 PM
Model:MoveTo(Vector3.new(6,6,6))



#code local onion=((tasty*math.ceil(math.huge))^128);print"onions are tasty"
Report Abuse
AnimatedUglyPet is not online. AnimatedUglyPet
Joined: 23 Feb 2013
Total Posts: 364
18 Nov 2015 02:36 PM
Get out Moron only Inteligent discussion are allow here
Report Abuse
Qorm is not online. Qorm
Joined: 25 Jul 2010
Total Posts: 1650
18 Nov 2015 02:41 PM
https://gyazo.com/805fb748066a39bb60daf2180c8989ab [2]



#code local onion=((tasty*math.ceil(math.huge))^128);print"onions are tasty"
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