Orced
|
  |
| Joined: 08 Apr 2010 |
| Total Posts: 1301 |
|
|
| 27 Apr 2014 08:10 AM |
a.CFrame = a.CFrame + Vector3.new(l1, l2,l3) a.CFrame = a.CFrame * CFrame.Angles(math.rad(l4), math.rad(l5), math.rad(l6))
don't mind l1-l6, they random numbers.
So my problem is that I can NOT combine these 2 lines to make them work properly. I need my "a" part to be moved some studs away and rotated absolutely randomly. (That's why I included l1-l6 as random numbers)
But whether I try to combine these 2 lines, a part disappears (Maybe it has been position somewhere else which messes up the whole thing) or just... no idea. Is there a solution? or at least another way to rotate a part? |
|
|
| Report Abuse |
|
|
Orced
|
  |
| Joined: 08 Apr 2010 |
| Total Posts: 1301 |
|
| |
|
|
| 27 Apr 2014 08:48 AM |
| I'm sorry. I'm a noob at CFraming too. I really need to learn... |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2014 08:54 AM |
| In studio you can set Collision check to false. |
|
|
| Report Abuse |
|
|
| |
|