Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 20 Jun 2015 02:03 AM |
| I'm looking to figure out how I could find a Vector3 location based off of the position and rotation of another part. It's going to be for automatic vehicle terrain sensor sort of things. Basically, if I were driving a car, how would I find the exact point five studs to the left relative to the car instead of the world? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 20 Jun 2015 02:06 AM |
| carPart.CFrame * Vector3.new(-5, 0, 0); |
|
|
| Report Abuse |
|
|
Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 20 Jun 2015 02:14 AM |
Thanks, I figured that was what I needed to do. I was trying to change a part's CFrame to the outcome of that when it only returns a vector3 so I figured it didn't work earlier. The struggle is real. |
|
|
| Report Abuse |
|
|