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: What is that Object that acts like a rope (Not a Constraint)

Previous Thread :: Next Thread 
Mr_Gibus is not online. Mr_Gibus
Joined: 17 Jun 2012
Total Posts: 368
15 Oct 2016 04:25 PM
There is/was and object hat would take two parts as inputs and then make a "rope" or like a line between the two, what is/was this called?
Report Abuse
Mr_Gibus is not online. Mr_Gibus
Joined: 17 Jun 2012
Total Posts: 368
15 Oct 2016 04:36 PM
Bump
Report Abuse
rjyancey9 is not online. rjyancey9
Joined: 14 Jul 2016
Total Posts: 3
15 Oct 2016 04:39 PM
Than what is it? dun dun dun. Tell me, what is it!?
Report Abuse
RockterDarkMagic is not online. RockterDarkMagic
Joined: 12 Jan 2011
Total Posts: 133
15 Oct 2016 04:41 PM
I remember that. Can't remember what it's called though :/ Sorry.
Report Abuse
Mr_Gibus is not online. Mr_Gibus
Joined: 17 Jun 2012
Total Posts: 368
15 Oct 2016 04:42 PM
It is bugging me so bad xD
Report Abuse
nullKeyword is not online. nullKeyword
Joined: 03 Oct 2016
Total Posts: 53
15 Oct 2016 04:49 PM
I don't know, but you can do this.

local function addAttachment(part1,part2)
local attachment = Instance.new("Part", workspace)
attachment.Anchored = true
return game:GetService("RunService").Stepped:connect(function()
local magnitude = (part1.Position - part2.Position).magnitude
attachment.Size = Vector3.new(0.2, 0.2, magnitude)
attachment.CFrame = CFrame.new(part1.Position, part2.Position) * CFrame.new(0, 0, -magnitude/2)
end), attachment
end

local connection, attachment = addAttachment(
workspace:WaitForChild("Part1"),
workspace:WaitForChild("Part2")
)

wait(5)

connection:disconnect()
attachment:Destroy()
Report Abuse
Mr_Gibus is not online. Mr_Gibus
Joined: 17 Jun 2012
Total Posts: 368
15 Oct 2016 04:53 PM
No I know how to use attachment I mean this object would like draw a line between two parts and it looked kinda like a rope or cord or something. :3 I have a custom grapple hook script and I'm trying to give it a rope without using a part
Report Abuse
FrozenSmite is not online. FrozenSmite
Joined: 17 Jul 2013
Total Posts: 2242
15 Oct 2016 04:56 PM
http://wiki.roblox.com/index.php?title=API:Class/SelectionPartLasso
http://wiki.roblox.com/index.php?title=API:Class/FloorWire


🤔
Report Abuse
nullKeyword is not online. nullKeyword
Joined: 03 Oct 2016
Total Posts: 53
15 Oct 2016 04:57 PM
This isn't a constraint or an attachment. It creates a wire -.-
It works the _exact_ way as the roblox grapple hook.
Report Abuse
Mr_Gibus is not online. Mr_Gibus
Joined: 17 Jun 2012
Total Posts: 368
15 Oct 2016 05:02 PM
Thank you xD
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