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: Weld not working?

Previous Thread :: Next Thread 
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 03:52 PM
I have this:
Model- Camera
Union- Cam
Part- Killbrick
Part- SwivelPoint

Now, in SwivelPoint there is a script that says:

while true do
wait()
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(0,math.rad(7), 0)
wait(0.03)
end

This makes it spin.
I have welds in the SwivelPoint connecting it to the cam and another to the killbrick. I want it to spin and the cam and killbrick spin with it in their respective positions to the swivel.

But the swivelpoint spins and the rest stay still. Why?
Report Abuse
1WithTheNoobiestNoob is not online. 1WithTheNoobiestNoob
Joined: 24 Jun 2012
Total Posts: 145
30 Sep 2016 03:54 PM
All connected objects have to be unanchored to work correctly and a camera is not a BasePart, just a PVInstance so it cannot be welded
Report Abuse
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 03:55 PM
So the union can't be welded?
They are unanchored.
Report Abuse
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 03:57 PM
But then why doesn't the part, KillBrick move?
Report Abuse
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 04:04 PM
bump help plz
Report Abuse
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 04:12 PM
Okay I got the welds but not because it is unanchored it falls and glitches around and flys away. How do i keep it where it was without anchoring?
Report Abuse
1WithTheNoobiestNoob is not online. 1WithTheNoobiestNoob
Joined: 24 Jun 2012
Total Posts: 145
30 Sep 2016 04:13 PM
body movers
or
cframe
or
weld to anchored object (as long as 2 connected things are unanchored there are no glitches)
Report Abuse
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 04:24 PM
Well i ununioned the cam so that worked and i have one part anchored.
Here is the rotate script now:
local i = 0
while true do
wait()
script.Parent.CFrame = script.Parent.Parent.SwivelPointSpot.CFrame * CFrame.Angles(math.rad(i+1), 0, 0)
i = i+1
wait(0.03)
end

but that makes it turn because it won't go into the right spot and spin the wrong axis
Report Abuse
boatbomber is not online. boatbomber
Joined: 26 Oct 2012
Total Posts: 386
30 Sep 2016 05:16 PM
bump help me
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