Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I rotate a mesh to fit a tool handle?

I want to make it so that instead of being rotated downwards when held, the mesh is facing upwards... How would I rotate this mesh? Sorry if it's a stupid or easy to fix question.

Thank you.

1 answer

A. Change the GripUp property of the tool (I think)

B. Manually CFrame the tool's setting position in the output like:

ToolPlacementHere.Grip = CFrame.new(PosX,PosY,PosZ)*
CFrame.Angles(math.rad(Xangle),math.rad(YAngle),math.rad(ZAngle))

Of course replace the Pos and Angle to actual numbers.

3 comments

1

Thanks a ton, I'll be editing a lot of meshes for a new game I'm making, this really helped

0

NP, btw, it would be nice to show this question is answered by pressed the up arrow that is above my head.

1

LOL I don't have enough reputation, sorry... I'll try to post more now xD

This discussion is preserved as it was. New answers, comments, and votes are closed.