|
| 11 Aug 2015 01:45 PM |
How can I modify an individual value for Vector3.new()?
Vector3.new(0, 0, -z/2)? |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 11 Aug 2015 01:46 PM |
| OriginalVector + Vector3.new(0,0,OrginalVector.z/2) |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
| |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 11 Aug 2015 01:47 PM |
local oldVec = Vector3.new(1,1,1) local newVec = Vector3.new(1,1,oldVec.z/2)
think would work |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 11 Aug 2015 01:47 PM |
@Tyness
except you can't set that Vector3.new().X = 5 will error |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
| |
|
| |
|