Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 09 Nov 2015 08:40 PM |
Like for my thing to move, I have to use big numbers. I was hoping I could just change my value to be a simple two-digit number, like 01 or something, and then have that number be turned into 010000 for my Vector3. Here is my script so far:
thrust.Force = Vector3.new(0, 0, speed.Value)
Anybody want to help?
u sicko! |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2015 08:45 PM |
Sounds like all you're doing is multiplying the number by 10000.
thrust.Force = Vector3.new(0, 0, speed.Value * 10000) |
|
|
| Report Abuse |
|
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
|
| 09 Nov 2015 08:47 PM |
*facepalm* Why is it I thought I would have had to manipulate a string or something when all I needed to do was multiply? Thank you.
u sicko! |
|
|
| Report Abuse |
|
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 09 Nov 2015 08:49 PM |
You can always use the tostring method...
Involves tostring() on your value, use some code to take the first two characters and remove them, then tonumber() on the finished string. |
|
|
| Report Abuse |
|
|