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 vs motor?

Previous Thread :: Next Thread 
HuntHello is not online. HuntHello
Joined: 19 Jan 2011
Total Posts: 577
22 Dec 2015 11:45 AM
Hi,
I'm trying to use a motor joint, but for some reason the joint location differs from a weld and a motor. For example, if I use the code

local motor = Instance.new("Weld", game.Workspace)
motor.Part0 = base
motor.Part1 = part
motor.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(270), math.rad(180),0)
motor.C1 = y:toObjectSpace(a) * CFrame.Angles(math.rad(270), math.rad(180),0)

the weld holds the part perfectly in its place however the motor joint shifts the block up about 0.5 studs. Is this normal?
Report Abuse
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
22 Dec 2015 12:40 PM
I use motors instead of welds, because they tend to perform better with more players.


If I can recall, I believe it's because welds don't need a specified C1, but motors do.
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