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
 

How do I move a door with CFrame?

Previous Thread :: Next Thread 
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
06 Feb 2015 10:04 PM
I want to make a door swing open(normal speed not fast or slow) using CFrames.

I've never rotated anything with CFrame, but I would assume by default it would rotate it based off of the center of the part and not based off my chosen point.

Can anyone give me an idea on how to do this?

Any help or advice is appreciated.

I should say I am pretty much completely new to CFrames.

I can set a part to a new position using CFrames, but I've never set a rotation using it or done anything advanced at all with it.

for i = 0, 10, .1 do
blah.CFrame = blah.CFrame * CFrame.new(0, i, 0)
wait(.1)
end

^an example of my current knowledge of cframes
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