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

Positioning the Grip of a Tool?

Asked by
Wizzy011 245 Moderation Voter
9 years ago

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.

0
@Wizzy011 You didn't provide any code with your question so I'll have to downvote it :3 P.S I look damn smexy in that picture holding up the red tray ;) UserOnly20Characters 890 — 9y
0
CRYING, well literally there's no code to put, it SHOULD be an easy fix, if I knew how.. Wizzy011 245 — 9y

1 answer

Log in to vote
0
Answered by
Azmidium 388 Moderation Voter
9 years ago

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

Ad

Answer this question