|
| 19 Jul 2015 05:33 PM |
local tw = t.Chassis.Swivel.Weld tw.C0=(CFrame.new( t.Chassis.Swivel.Position, Vector3.new( mouse.X, t.Chassis.Swivel.Position.y, mouse.Y) ))
this is in a function thats called by a mouse.move event, but the y stay's the same (i've printed it). Why is that?
yes it's in a local script
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 05:34 PM |
i told you why earlier
you rotated the y angle but printed the y position
those are 2 different things |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 05:35 PM |
learn cframe before you say that again please:
CFrame.new(Vector3 position, Vector3 point)
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 05:37 PM |
b
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 05:40 PM |
2
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 05:42 PM |
3
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 05:43 PM |
4
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2015 07:25 PM |
5
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2015 06:12 AM |
6
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2015 06:56 AM |
apparently this is too big of a job for scripters.
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2015 07:01 AM |
Clearly, I mean, why can't we just post all of our code and ask everyone to fix it for us? That's not too much to ask, is it?
print('ayy lmao') |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2015 07:02 AM |
"Clearly, I mean, why can't we just post all of our code and ask everyone to fix it for us? That's not too much to ask, is it?"
how do you know this is ALL of my code? I've given you all the information I can gather.
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 20 Jul 2015 07:58 AM |
, but the y stay's the same (i've printed it). Why is that?
cause = that's what you told it to do. |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2015 09:02 AM |
"cause = that's what you told it to do."
i've told the thing to point towards the mouse everytime it moves
it doesn't move
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 20 Jul 2015 09:10 AM |
tw.C0=(CFrame.new( t.Chassis.Swivel.Position, Vector3.new(
mouse.X,
t.Chassis.Swivel.Position.y,
mouse.Y) )) |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2015 09:11 AM |
yes, what about it.
I'll swear, but standards won't let me |
|
|
| Report Abuse |
|
|
ShungTzu
|
  |
| Joined: 14 Jun 2014 |
| Total Posts: 959 |
|
|
| 20 Jul 2015 09:34 AM |
It's the answer to this question:
but the y stay's the same (i've printed it). Why is that?
But then positions don't have a property called y, so you should be getting an error, but you say you've printed it, so... |
|
|
| Report Abuse |
|
|