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: Does anyone have a script to CFrame an entire model?

Previous Thread :: Next Thread 
Xulp is not online. Xulp
Joined: 24 Apr 2012
Total Posts: 451
14 Mar 2014 01:42 PM
I'm currently using welds then CFraming the main part and anchoring it, but it doesn't always work because some pieces fall off. This would be VERY useful.
Report Abuse
UnStunned is not online. UnStunned
Joined: 14 Jun 2012
Total Posts: 122
14 Mar 2014 01:45 PM
c=script.Parent.Parent
c.CFrame=CFrame.new(Blah Blah Blah)
This i think will move the whole model.
Report Abuse
Xulp is not online. Xulp
Joined: 24 Apr 2012
Total Posts: 451
14 Mar 2014 01:47 PM
Models have no CFrame property.
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
14 Mar 2014 01:47 PM
CFrame is not a valid Member of model..
Report Abuse
Nhelp is not online. Nhelp
Joined: 05 Aug 2011
Total Posts: 11557
14 Mar 2014 01:49 PM
I have a good plugin. I don't remember where I have it from though.
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
14 Mar 2014 01:51 PM
I think there's some sort of method to get the modles CFrame,and somehow CFrame it..

Like GetModelCFrame or something..
Report Abuse
UnStunned is not online. UnStunned
Joined: 14 Jun 2012
Total Posts: 122
14 Mar 2014 01:51 PM
Oh yea :p
Umm then you need to like you need to use some sort of a plugin
Report Abuse
Xulp is not online. Xulp
Joined: 24 Apr 2012
Total Posts: 451
14 Mar 2014 01:51 PM
I'm looking for source to put inside a script, not a tool. If you have the source of the tool, that could work.
Report Abuse
UnStunned is not online. UnStunned
Joined: 14 Jun 2012
Total Posts: 122
14 Mar 2014 01:52 PM
No idea about this..
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
14 Mar 2014 01:52 PM
@all the people saying "use a plugin"
Don't be dum..he's not asking how to move a model in studio,he wants to CFrame it,with Scripts,WHILE THE GAME IS GOING
If he wanted to move the model in studio,he can do that easily..
Yeeesh
Report Abuse
TomsGames is not online. TomsGames
Joined: 11 Oct 2013
Total Posts: 1615
14 Mar 2014 01:53 PM
CFrame is a member of model, thank you very much everyone.

model = game.Workspace.Model
cframe = model:GetModelCFrame()
print(cframe)

Educated!
Report Abuse
Xulp is not online. Xulp
Joined: 24 Apr 2012
Total Posts: 451
14 Mar 2014 01:54 PM
That's no different than getting the CFrame of the PrimaryPart, and I'm looking to move it, not get it.
Report Abuse
UnStunned is not online. UnStunned
Joined: 14 Jun 2012
Total Posts: 122
14 Mar 2014 01:56 PM
Toms,bad spam?
Report Abuse
TomsGames is not online. TomsGames
Joined: 11 Oct 2013
Total Posts: 1615
14 Mar 2014 01:57 PM
Ok then, so I don't see what your problem is?

Put a brick at the same CFrame as the model right in the centre with cancollide to false, anchored to false etc...

Weld every brick to that centre brick right? Got that? Now Cframe that brick.
Report Abuse
Xulp is not online. Xulp
Joined: 24 Apr 2012
Total Posts: 451
14 Mar 2014 01:58 PM
Because I want it to be anchored, and things seem to be falling off.
Report Abuse
TomsGames is not online. TomsGames
Joined: 11 Oct 2013
Total Posts: 1615
14 Mar 2014 02:00 PM
That's because not everything is welded to it.
Report Abuse
UnStunned is not online. UnStunned
Joined: 14 Jun 2012
Total Posts: 122
14 Mar 2014 02:03 PM
s=script.Parent
s.Anchored=true
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