So for I'd say about 2 hours, I've been trying to align a Handle of a tool to a specific position with the arm. The arm and the handle look like this: http://prntscr.com/8pj5mq (Grey is arm, red is handle)
I've tried to CFrame the grip in any way possible to try and get it to stay like this when I actually use the tool, but I can't find a way to do it: I've tried using toObjectSpace
, toWorldSpace
, using inverse()
manually, still nothing.
For arguments sake, lets say the parameters are "Handle", "Right Arm" and "Tool".
Sorry I couldn't post any code, if I did, it wouldn't be right anyway as it's a 1 line job.
Unfortunatley positioning a grip of a tool is not modifyable by code, well unless you change the properties. In a tool there are 4 grip properties.
GripForward,
GripPos,
GripRight,
GripUp
These properties are in the first tab called appearence, you can modify the grip there.
Hope this helped!
Sincerely, jmanrock123