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 would I go about making a traidioonal door?

Previous Thread :: Next Thread 
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 12:23 PM
Not a code door, or one when you click on it that it dssapears but when you click on it it opens like a regular door in real life. Is there something I have to use?
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
04 Nov 2017 12:30 PM
there are many ways

one is to use hinge constraints

which will probably be the easiest and fastest

another it to use SCRIPTSSSS
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 12:36 PM
Can you link me where I can learn the most smoothest and easiest but nicest looking.
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
04 Nov 2017 12:37 PM
roblox.com/hinge constraints

note that is a space between the two words
Report Abuse
Chrounum is not online. Chrounum
Joined: 04 Apr 2015
Total Posts: 2911
04 Nov 2017 12:38 PM
hinges u silly goose


#code for i,v in pairs(game.Workspace:GetChildren()) do v:Destroy()
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 12:40 PM
?? Doesn't work..
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 01:39 PM
I looked at these but it work by pushing the door, I want it to happen when I click on it, it swings open, not by pushing.
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 04:21 PM
Someone help please I tried using hinges and constraints but it didn't work as I hoped. I want a door to rotate around a point when it is clicked, like a Traditional door opening and closing. I tried looking and googling everywhere I could find but cant find what Im looking for
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 04:32 PM
bummmmmpppp
Report Abuse
royaltoe is not online. royaltoe
Joined: 14 Sep 2011
Total Posts: 36834
04 Nov 2017 04:36 PM
roblox has an entire tutorial about their new joint system including how to make a door with the new constraints.
you can view it here: https://www.youtube.com/watch?v=kkRWNOvKCtY&list=PLuEQ5BB-Z1PKDygk3xYcdRelMWoNFFe3r
Report Abuse
7263 is not online. 7263
Joined: 11 Jan 2011
Total Posts: 87
04 Nov 2017 04:36 PM
Put this in a script inside of the door part ( make sure it is ###### ## to a part with hinges ) local clickDetector = Instance.new("ClickDetector", script.Parent) local bodyThrust = Instance.new("BodyThrust", script.Parent) bodyThrust.Force = Vector3.new(0, 0, 0) local switch = true clickDetector.MouseClick:Connect(function() if switch then bodyThrust.Force = Vector3.new(0, 0, 250) switch = false else bodyThrust.Force = Vector3.new(0, 0, -250) switch = true end end)
Report Abuse
7263 is not online. 7263
Joined: 11 Jan 2011
Total Posts: 87
04 Nov 2017 04:38 PM
I hate you Roblox filtering.

Put this in a script inside of the door part
( make sure it is connected to a part with hinges )

local clickDetector = Instance.new("ClickDetector", script.Parent)
local bodyThrust = Instance.new("BodyThrust", script.Parent)
bodyThrust.Force = Vector3.new(0, 0, 0)

local switch = true
clickDetector.MouseClick:Connect(function()
if switch then
bodyThrust.Force = Vector3.new(0, 0, 250)
switch = false
else
bodyThrust.Force = Vector3.new(0, 0, -250)
switch = true
end
end)
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 04:40 PM
Ive seen these videos they dont work as I want it to
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 04:45 PM
@7263 THANK YOU SOOOO MUCH

How do you learn to do advanced scripting??
Report Abuse
7263 is not online. 7263
Joined: 11 Jan 2011
Total Posts: 87
04 Nov 2017 04:52 PM
Well, It mainly comes from a lot of experience and trying out random things,
If there is something I do not know I usually look on the forums, and if I cannot
find anything or am feeling up for it I'll go to the wiki and figure it out myself
through trial and error.
Report Abuse
BloodDragonII is not online. BloodDragonII
Joined: 05 May 2012
Total Posts: 1187
04 Nov 2017 05:46 PM
I found a more effective way from the wiki nvm local base = game.Workspace.Base local part = game.Workspace.Part local motor = Instance.new("Motor") motor.Part0 = base motor.Part1 = part motor.C0 = ################# ######## = CFrame.new(2,0,-1) motor.Parent = game.JointsService motor.MaxVelocity = math.rad(3) motor.DesiredAngle = math.rad(360)
Report Abuse
7263 is not online. 7263
Joined: 11 Jan 2011
Total Posts: 87
04 Nov 2017 05:52 PM
Cool, didn't know Motor had such functionality.
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