caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 28 Apr 2017 12:23 PM |
| for i = 0,.75,.1 do Tool.Grip = CFrame.new(0,-1,0,0.5,0,0,0,0,-1,0,1,0) ######## print(Tool.Grip) end ########## ### ## ## ## ######## ### ## ## # As you can see, the output is different from the CFrame I am supplying. Why? (I set it in a loop so it would update the CFrame multiple times, I originally had no loop, but it still works the same) |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 28 Apr 2017 12:24 PM |
"As you can see"
Apparently not because of this stupid censorship
Link goo.gl/HpHWhB |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
| |
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 29 Apr 2017 11:48 AM |
I figured out the problem:
Instead of the CFrame being in the same order as the Tool.Grip properties, it's in standard form (position, rotation matrix):
CFrame.new( -- Position GripPos.x, GripPos.y, GripPos.z, -- Rotation matrix GripRight.x, GripUp.x, -GripForward.x, GripRight.y, GripUp.y, -GripForward.y, GripRight.z, GripUp.z, -GripForward.z ) |
|
|
| Report Abuse |
|
|