xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 20 Jul 2012 04:33 PM |
workspace.Part.Position = Vector3.new(0, 4, 0)
print(tostring(workspace.Part.Position))
>0, 3.999999994, 0
ASFEEAFSDAFASFSA |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2012 04:34 PM |
...
....
....
fffffffffffuuuuUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
|
| 20 Jul 2012 04:35 PM |
... ... ... ...
~Friends are like potato chips, you eat them they die.~ |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 20 Jul 2012 04:35 PM |
| Definitely a bug, I'll let someone know. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 20 Jul 2012 04:38 PM |
| How exactly did you do that? I can't reproduce it. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
| |
|
|
| 20 Jul 2012 05:18 PM |
XD
I punch trees and kill pigs. |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 20 Jul 2012 05:37 PM |
@strav
that's the problem, this happens at complete random times for no reason. |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2012 06:37 PM |
| I just reproduced it successfully. |
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Jul 2012 06:40 PM |
@su8
HAHAHAHAHAHAHAHAHAHAHAH thanks so much for that. In the future use FTFY though to make it more like the front page of the internet :3 |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 Jul 2012 07:21 PM |
I was able to reproduce a similar situation twice in two different places
workspace.Part.Position = Vector3.new(0, 3.9, 0) print(tostring(workspace.Part.Position))
>0, 3.9000001, 0 |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2012 08:56 PM |
| I hate how that happens all the time with UDim2s. It's truly annoying. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 20 Jul 2012 09:24 PM |
@ArceusInator That's totally expected though. 3.9 can't be exactly represented as a double, so there's the very small discrepancy. What is odd is that it should not happen with 4. |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2012 09:55 PM |
| Just round the number and move on with your life. |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
|
| 20 Jul 2012 09:59 PM |
@Chaos
no maths function for that, only rounds to whole numbers. :( |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2012 10:01 PM |
Lol xD
Read the top comments xD v=QAMb-LwWVl4
~Read Between The Squiggles~ |
|
|
| Report Abuse |
|
|
|
| 20 Jul 2012 10:01 PM |
We can't round to specific significant figures?! *deskflip* |
|
|
| Report Abuse |
|
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Jul 2012 11:13 PM |
function round(num,r) return math.floor(num/r+.5)*r end
There, have fun. |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Jul 2012 05:00 AM |
while wait(0.1) do a = Instance.new("Part", game.Workspace) a.Position = Vector3.new(0, 4, 0) print("y position is "..a.Position.Y) a:Destroy() end
>y position is 4 >y position is 4 >y position is 4 >y position is 4
*Inserts lag bomb*
>y position is 3.6625657081604 >y position is 3.1531376838684 >y position is 3.416850566864 >y position is 3.7168509960175 >y position is 3.2531373500824 >y position is 3.5168509483337
I guess this is because I didn't anchor it... |
|
|
| Report Abuse |
|
|
| |
|