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
 

CFrame command?

Previous Thread :: Next Thread 
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
18 Nov 2011 08:59 PM
Lol. Is there a CFrame command that moves or slants Models???

Just wondering... reply
Report Abuse
LordWTH is not online. LordWTH
Joined: 21 Apr 2011
Total Posts: 159
18 Nov 2011 09:01 PM
game.Workspace.MODEL:MoveTo(Vector3.new(0,0,0))
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
18 Nov 2011 09:03 PM
By CFrame 'command' im seriously hoping you mean CFrame script.

Anway you cant really CFrame a model all together.
Models are basically empty Instances which are used to store information.
They dont have a Position, Size, Or a physical form.
There is a way you can CFrame it all together.

1. Is you could use a weld. Weld all the parts in the model to a certain part in the model. Now all the other parts will move around that particuler part.

2.Use ROBLOX physics instances to move around the models
Aka. Bodyposition, Bodyforce, Bodyvelocity, Bodygyro
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
18 Nov 2011 09:04 PM
@Lord

Not really a CFrame command though :/
Just sets a position that isn't even absoloute.
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
18 Nov 2011 09:09 PM
oh thx and ummm i meant CFrame command ;D
Report Abuse
TheNewScripter is not online. TheNewScripter
Joined: 02 Mar 2010
Total Posts: 2432
18 Nov 2011 09:10 PM
Well... You could get the center position of a model, and then rotate all the parts based off of that point...
Report Abuse
TheNewScripter is not online. TheNewScripter
Joined: 02 Mar 2010
Total Posts: 2432
18 Nov 2011 09:10 PM
I think I am going to make a tool that does that...
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
18 Nov 2011 09:11 PM
I know that that uses :toObjectSpace() and :toWorldSpace().

Apparently you know how those work, can you explain?
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
18 Nov 2011 09:15 PM
@TheNewScripter
Rotating a part around a position is hard enough bro :/
Its like the earth and the moon.

The moon rotates around the eart and around its self at a syncronized speed. So that one side is always facing the earth. And its always that same side we see on the moon.

If you can do that kind of Locked on rotation around a certain point :/
Then you get a cookie :D
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
18 Nov 2011 09:31 PM
It's not that hard at all, actually. I just don't know how to use :toWorldSpace and :toObjectSpace.
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