SEVENTLY
|
  |
| Joined: 12 Mar 2016 |
| Total Posts: 1516 |
|
|
| 05 Apr 2016 12:36 PM |
I'm trying to make a BodyGyro rotate a block counter clockwise on the y axis, but it's not working. It seems to only like going clockwise.
The Y axis is the middle one.
(x, y, z)
|
|
|
| Report Abuse |
|
|
SEVENTLY
|
  |
| Joined: 12 Mar 2016 |
| Total Posts: 1516 |
|
| |
|
| |
|
KapKing47
|
  |
| Joined: 09 Sep 2012 |
| Total Posts: 5522 |
|
|
| 05 Apr 2016 12:55 PM |
CFrame = CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), 1) --Clockwise CFrame = CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), -1) --Counter-clockwise CFrame = CFrame * CFrame.fromAxisAngle(Vector3.new(0, -1, 0), 1) --Counter-clockwise as well I think CFrame = CFrame * CFrame.fromAxisAngle(Vector3.new(0, -1, 0), -1) --Clockwise I think
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
SEVENTLY
|
  |
| Joined: 12 Mar 2016 |
| Total Posts: 1516 |
|
|
| 05 Apr 2016 12:59 PM |
I just switched to using BodyAngularVelocity.
BodyGyro for some reason is buggy when I try any form of making it negative.
|
|
|
| Report Abuse |
|
|
KapKing47
|
  |
| Joined: 09 Sep 2012 |
| Total Posts: 5522 |
|
|
| 05 Apr 2016 01:05 PM |
Ah yeah, I remember having troubles with BodyGyro for my heli once :/
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|