H1998
|
  |
| Joined: 30 Mar 2009 |
| Total Posts: 3336 |
|
|
| 19 Feb 2013 08:39 AM |
I have tried many things and none have helped me out. I figured Trigonometric methods would be the way forward. But I have not find anything that can let me construct the radian angle.
I bascially want a Part to point directly at another part. |
|
|
| Report Abuse |
|
|
koen500
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 2277 |
|
|
| 19 Feb 2013 08:40 AM |
| I haven't do this with Maths lesson yet. |
|
|
| Report Abuse |
|
|
H1998
|
  |
| Joined: 30 Mar 2009 |
| Total Posts: 3336 |
|
|
| 19 Feb 2013 08:42 AM |
@koen500
That is kind of irrelevant to post on this thread. |
|
|
| Report Abuse |
|
|
koen500
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 2277 |
|
|
| 19 Feb 2013 08:45 AM |
| It's not irrelevant, you're right. |
|
|
| Report Abuse |
|
|
H1998
|
  |
| Joined: 30 Mar 2009 |
| Total Posts: 3336 |
|
| |
|
|
| 19 Feb 2013 09:59 AM |
| If you want a part to point at another then: Part1.CFrame = CFrame.new(Part1.Position, Part1.Position) |
|
|
| Report Abuse |
|
|
H1998
|
  |
| Joined: 30 Mar 2009 |
| Total Posts: 3336 |
|
|
| 19 Feb 2013 10:20 AM |
ARE YOU KIDDING ME!?! IT WAS THAT SIMPLE!?!!
DO YOU KNOW HOW MNAY HOURS I SPENT TRYING TO FIGURE OUT HOW THE STUPID STUPID STUPID CFRAME WILL FACE A SPECIFIED DIRECTION!!
AND IT WAS A TINY TINY LINE ALL ALONG!!!
*CFRAME TROLLFACE*
GAAAAAAAAAAAH
Oh and also thx for the help.
GAAAAAAAAAAAAAAAH |
|
|
| Report Abuse |
|
|
|
| 19 Feb 2013 10:21 AM |
| Emm not problem I guess xD |
|
|
| Report Abuse |
|
|
|
| 19 Feb 2013 10:28 AM |
| That just puts the part on to another part. If you want to make the part actually face another part you need to use lookVector and some nifty maths. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 19 Feb 2013 10:32 AM |
| Actually, the CFrame command that was used does make the part point toward another :P |
|
|
| Report Abuse |
|
|
|
| 19 Feb 2013 10:34 AM |
| WHOOPS! I didn't see the second argument. |
|
|
| Report Abuse |
|
|