amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 08 Jun 2015 06:16 PM |
So I have a part at a random rotation, and I need to get the lookVector of the right side.
I don't normally deal with CFraming and positioning.
Any help is appreciated. |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 08 Jun 2015 06:21 PM |
CFrame:vectorToWorldSpace(Vector3.new(1, 0, 0))
|
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 08 Jun 2015 06:27 PM |
| Thanks. I suppose it's time I learned more about the rotation matrix, reading up on it. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2015 06:28 PM |
| http://www.roblox.com/Forum/ShowPost.aspx?PostID=164053903 |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 08 Jun 2015 06:30 PM |
| I would also think that you could rotate the CFrame by like 90 degrees but that is more work. And this makes you look smarterer |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 08 Jun 2015 06:39 PM |
@amanda
http://wiki.roblox.com/index.php?title=User:MrNicNac/CFrame_Cheat_Sheet |
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 08 Jun 2015 07:38 PM |
Woop! I did what I was trying to do. I ended up not actually needing the rotational matrix in my code(or lookVectors at all), however if I did not go through the process of learning it, I would not of figured out my problem.
|
|
|
| Report Abuse |
|
|