databrain
|
  |
| Joined: 01 Jan 2013 |
| Total Posts: 3342 |
|
|
| 16 Apr 2015 11:28 PM |
I'm making an animation editor that messes with the Tool.Grip property. What are the specifics of Tool.Grip? Is it equal to Part0.CFrame:toObjectSpace(Part1.CFrame) where Part 0 is the right arm and Part 1 is the Handle? How can I find Tool.Grip given the the Part0's CFrame, the C0 of the RightGrip weld, and the intended C1 of the RightGrip weld? |
|
|
| Report Abuse |
|
|
databrain
|
  |
| Joined: 01 Jan 2013 |
| Total Posts: 3342 |
|
|
| 16 Apr 2015 11:39 PM |
| Nevermind, I solved it. The Grip is literally the C1 of the RightGrip weld. It was confusing me earlier because the "GripRight", "GripForward", and "GripUp" data doesn't correlate to the Grip property (Which is stupid). |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 16 Apr 2015 11:39 PM |
I've rarely messed with the Tool.Grip property, but I would recommend messing around with the grip vector3's a bit.
I know that if you aren't configuring the GripUp position for the Y coordinate of the vector3, it will rotate, similarly to the GripRight and GripForward.
I guess it is like the CFrame matrix, then the GripPos itself should be a plain old' vector position.
I suggest you pull up a wiki article. |
|
|
| Report Abuse |
|
|
databrain
|
  |
| Joined: 01 Jan 2013 |
| Total Posts: 3342 |
|
|
| 16 Apr 2015 11:43 PM |
I've solved the problem now actually. I'm now having a different problem. The RightGrip weld's C1 refuses to change while the tool is being equipped, and any change on the Tool.Grip property doesn't affect the tool until the tool has been re-equipped |
|
|
| Report Abuse |
|
|
mycheeze
|
  |
| Joined: 27 Jun 2011 |
| Total Posts: 6748 |
|
|
| 16 Apr 2015 11:44 PM |
| I t0tes don't understand dem welds wiff C1 and C0 |
|
|
| Report Abuse |
|
|