RackHe00
|
  |
| Joined: 15 Jul 2012 |
| Total Posts: 303 |
|
|
| 29 Jul 2012 10:50 AM |
Title says it all. How would i do this stuff in roblox? Googling the problem brought me matrixes, which is not a good solution because:
1)I dont know if how to get last 9 numbers of CFrame table, which are rotation matrix 2)Its rather complicated
Anyone have ideas? |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2012 10:51 AM |
wut is math.pu
~~This sig is false~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Jul 2012 10:53 AM |
CFrame.new(VECTOR_HERE) * CFrame.Angles(0, math.pi/2, 0)
that? |
|
|
| Report Abuse |
|
|
RackHe00
|
  |
| Joined: 15 Jul 2012 |
| Total Posts: 303 |
|
|
| 29 Jul 2012 11:17 AM |
math.pi, not math.pu, sorry.
@DrAgon
This wont work. If you had (1, 0, 0), the result wont be (0, 0, 1), it will be (0, 0, 0) |
|
|
| Report Abuse |
|
|
rayoma
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1911 |
|
|
| 29 Jul 2012 11:19 AM |
| Take doc's script and flip them. Remember that when multiplying matrices the second one is always offset by the first one. |
|
|
| Report Abuse |
|
|