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: How do I move a model to a certain position

Previous Thread :: Next Thread 
Kevinllululala is not online. Kevinllululala
Joined: 03 Mar 2013
Total Posts: 823
04 Nov 2017 06:06 AM
I am trying to move a model to a position I want
Report Abuse
igrach2 is not online. igrach2
Joined: 09 Mar 2017
Total Posts: 252
04 Nov 2017 06:08 AM
workspace.Model:move(Vector3.new(1,2,3))
Report Abuse
nooneisback is not online. nooneisback
Joined: 28 Feb 2012
Total Posts: 1672
04 Nov 2017 06:10 AM
Set the primary part to the centermost one, then just use Model:SetPrimaryPartCFrame=CFrame.new(the coordinates)
Report Abuse
Kevinllululala is not online. Kevinllululala
Joined: 03 Mar 2013
Total Posts: 823
04 Nov 2017 06:51 AM
Bump
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
04 Nov 2017 06:51 AM
how didnt any of those answers help


Report Abuse
Kevinllululala is not online. Kevinllululala
Joined: 03 Mar 2013
Total Posts: 823
04 Nov 2017 06:55 AM
Does :MoveTo() work?
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
04 Nov 2017 07:04 AM
Of course it works, look it up

yourModelHere:SetPrimaryPartCFrame(CFrame.new(0,0,0))

I'd use this though
Report Abuse
Kevinllululala is not online. Kevinllululala
Joined: 03 Mar 2013
Total Posts: 823
04 Nov 2017 07:07 AM
^ Just curious, why do you use primary part instead of MoveTo?
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
04 Nov 2017 07:09 AM
setprimarypartcframe allows you to control the rotation as well as the position


Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
04 Nov 2017 07:15 AM
AND if you move your model within the bounds of another part, it won't be kicked to the top as it would if you were changing its position
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