|
| 30 Mar 2013 08:45 PM |
| Obviously lookVector is from the Front of a Brick, is there any way to make it so its the Top instead? |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2013 08:46 PM |
| You could rotate the CFrame upwards by multiplying by CFrame.Angles(-math.pi/2,0,0), then get that lookVector. |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2013 08:47 PM |
| (Part.CFrame*Vector3.new(0,1) - Part.CFrame.p).unit |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2013 08:49 PM |
Alternatively, you could do this:
local LV_Up = (Brick.CFrame * CFrame.new(0, 1, 0)).p - Brick.CFrame.p
Though BlueTaslem's would be shorter to write. |
|
|
| Report Abuse |
|
|