Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

Sideways tools?

Asked by
beyryan 10
6 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 6 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 6 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 — 6y
0
Nevermind, i figured it out myself, Thanks for the help though! :D beyryan 10 — 6y
0
Always happy to help :) Hippalectryon 3 — 6y
Log in to vote
0
Answered by 1 year ago

Use a tool grip plugin

Answer this question