Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Sideways tools?

Asked by
beyryan 10
10 years ago

Hi all, i'm new to scripting and don't know much, But it seems i have a problem with alot of tool meshes (Gear made by ROBLOX), And not quite sure how to fix it. http://imgur.com/XESSrt5 Any help?

3 answers

Log in to vote
1
Answered by 10 years ago

This doesn't really have anything to do with scripting- you must rotate the handle so it's facing straight forward, I suggest you use the properties tab on the handle and set FrontSurface to Hinge so you can find the front of the sword.

Ad
Log in to vote
1
Answered by 10 years ago

Try rotating the tool:

thePart.CFrame=thePart.CFrame * CFrame.Angles(0,math.pi/2,0)

or

thePart.CFrame=thePart.CFrame * CFrame.Angles(0,-math.pi/2,0)

should work

0
Like i said, I'm quite new and don't quite understand how i should execute the CFrame, What should i do? (Sorry for being so nooby :P) beyryan 10 — 10y
0
Nevermind, i figured it out myself, Thanks for the help though! :D beyryan 10 — 10y
0
Always happy to help :) Hippalectryon 3 — 10y
Log in to vote
0
Answered by 5 years ago

Use a tool grip plugin

Answer this question