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: Scripting pros pls help

Previous Thread :: Next Thread 
pengcheng1 is not online. pengcheng1
Joined: 18 Jan 2010
Total Posts: 601
05 Aug 2014 11:02 PM
Is there any way I could create my own hing that is more stable than the Roblox hing. Such as attached to a heli.
Report Abuse
TeddyBauer is not online. TeddyBauer
Joined: 24 Jul 2014
Total Posts: 224
05 Aug 2014 11:04 PM
Sure you can create your own hing, however its doubtful that someone on this forum at this particular time will know how to do so because most of the time everyone uses the ROBLOX Hinges, and the rest of the time they don't make their own unfortunately.

The most i can do is confirm your hypothesis and say "Yes" you can make a better hing, "how?" I do not know.
Report Abuse
pengcheng1 is not online. pengcheng1
Joined: 18 Jan 2010
Total Posts: 601
05 Aug 2014 11:08 PM
I have found one that does just that, but for some odd reason it only works on studio and not in game servers.

Here's the script

Par = script.Parent
Part1 = Par.Part1
if Part1 then
local Part2 = Par:FindFirstChild("Part2")
if Part2 then
Part2.CFrame = Part1.CFrame * CFrame.new(1.5, 0, 0)
local Joint = Instance.new("Glue")
Joint.Name = "Glue"
Joint.Part0 = Part1
Joint.Part1 = Part2
Joint.C0 = CFrame.new(1.5, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
Joint.C1 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
Joint.Parent = Part1
end

local Part3 = Par:FindFirstChild("Part3")
if Part3 then
Part3.CFrame = Part1.CFrame * CFrame.new(-1.5, 0, 0)
local Joint = Instance.new("Glue")
Joint.Name = "Glue"
Joint.Part0 = Part1
Joint.Part1 = Part3
Joint.C0 = CFrame.new(-1.5, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
Joint.C1 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
Joint.Parent = Part1
end
end


What could be wrong?
Report Abuse
pengcheng1 is not online. pengcheng1
Joined: 18 Jan 2010
Total Posts: 601
05 Aug 2014 11:30 PM
Anyone have a clue?
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