Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 23 Jul 2015 02:51 PM |
The string's value is a valid position, but for some reason the part's position doesn't change and nothing prints in output as an error.
local b = script.Parent b.Changed:connect(function() if b.Position ~= b.Pos.Value then b.Position = b.Pos.Value end end)
u sicko! |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Jul 2015 03:01 PM |
| The Changed event doesn't fire when the physics engine does stuff (position changing etc) IIRC |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 23 Jul 2015 03:03 PM |
Ok so then how do I detect when the position changes then?
u sicko! |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Jul 2015 03:07 PM |
| Use a while loop or something |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 23 Jul 2015 03:10 PM |
Oh gosh that's like the agony of my life, using while loops instead of the changed event...
u sicko! |
|
|
| Report Abuse |
|
|