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: Idk what title fits this :c

Previous Thread :: Next Thread 
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 05:12 AM
Well, I tried putting a 'bubble' in my character, which is welded to my torso. Its size is 7x7x7. When I do this, my whole character gets extremely heavy and because it gets very heavy it falls through the baseplate. Is there a way to fix that?
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
10 Apr 2013 05:17 AM
It doesn't get heavy. It wels Torso to Bubble, NOT Bubble to Torso. Doesn't matter that much, but you get teleported to Bubble position.

Also make sure it's not anchored.

Report Abuse
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 05:35 AM
'but you get teleported to Bubble position.'

That indeed is exactly what happens, but how would I fix it?
Report Abuse
RoyStanford is not online. RoyStanford
Joined: 21 Oct 2008
Total Posts: 2222
10 Apr 2013 06:03 AM
Flip the Part0 and Part 1
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
10 Apr 2013 06:25 AM
I already told... You parent weld to torso and set Part0 to Torso.
Report Abuse
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 09:48 AM
I changed the weld's parent to the torso, changed Part0 to the torso and Part1 to the bubble. It still happens.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
10 Apr 2013 09:51 AM
Try calling BreakJoints() on the bubble before welding it
Report Abuse
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 09:53 AM
This is the script:

sp = script.Parent

t = sp:findFirstChild("Torso")
if not t then return end

local bp = sp:findFirstChild("BubblePart")
if bp then return end

b = Instance.new("Part", sp)
b.Name = "BubblePart"
b.CanCollide = false
b.Transparency = .65
b.Reflectance = .3
b.BrickColor = BrickColor.new("Bright blue")
b.Size = Vector3.new(6, 6, 6)
b.BottomSurface = "Smooth"
b.TopSurface = "Smooth"
b.FormFactor = "Custom"
b.Shape = "Ball"

w = Instance.new("Weld", t)
w.Part0 = t
w.Part1 = b

-- The bubble doesn't contain welds already because I just created it
Report Abuse
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 10:22 AM
anyone? :d
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
10 Apr 2013 10:24 AM
I have an idea:

Make the ball 0.2x0.2x0.2 and insert a SpecialMesh, Sphere, 30, 30, 30
Report Abuse
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 10:27 AM
I'll try that
Report Abuse
getkoed2 is not online. getkoed2
Joined: 11 Apr 2010
Total Posts: 1144
10 Apr 2013 10:35 AM
It worked, thank you very much :)
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