ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
| |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
|
| 27 Aug 2012 07:24 PM |
http://wiki.roblox.com/index.php/CFrame#Properties
CFrame.lookVector Vector3 returns the facing direction (unit vector) |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
|
| 27 Aug 2012 07:28 PM |
ooo, maybe
Part.CFrame = CFrame.Angels(OtherPart.lookVector)
iduno |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
|
| 27 Aug 2012 07:32 PM |
| Honestly CFrame isn't my type of thing, I can't really help any further :L |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
|
| 27 Aug 2012 07:38 PM |
| No idea what you are doing.. |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
AIphonse
|
  |
| Joined: 24 Aug 2011 |
| Total Posts: 366 |
|
|
| 27 Aug 2012 07:49 PM |
| try the output stringvalue projectile vector |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
AIphonse
|
  |
| Joined: 24 Aug 2011 |
| Total Posts: 366 |
|
| |
|
rayoma
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1911 |
|
|
| 27 Aug 2012 07:58 PM |
I'm guessing you're trying to get it rotated the same as some other part?
grid.CFrame=CFrame.new(grid.CFrame.p)*(v.CFrame-v.CFrame.p); |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
| |
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
|
| 27 Aug 2012 09:00 PM |
Try
part.CFrame.Y = part.CFrame.X - (part.CFrame.X * (1/4)) |
|
|
| Report Abuse |
|
|
ScriptOn
|
  |
| Joined: 22 Aug 2010 |
| Total Posts: 10885 |
|
| |
|
|
| 27 Aug 2012 09:14 PM |
| You need to set 0.2. That's why. |
|
|
| Report Abuse |
|
|