doctor152
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 308 |
|
|
| 12 Jan 2015 03:09 PM |
| I'm trying to make a bullet shoot out of a face, but the face will be rotating. How do I make it so it shoots out on the specified Rotation? Thanks. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
|
| 12 Jan 2015 03:17 PM |
goto the Roblox Wiki; goto the CFrame page (You will be going to that page everyday from now-on, anyway, so BookMark it); Get the Face's LookDir; cram that into the bullet's CFrame, Velocity, and Body(WhichEverBodyForceYouAreUsing).
|
|
|
| Report Abuse |
|
|
doctor152
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 308 |
|
|
| 13 Jan 2015 02:03 AM |
| Thanks. Took a while to make it work, but it's good now. ^_^ |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 13 Jan 2015 02:10 AM |
| head.CFrame = head.CFrame * (head.CFrame * CFrame.new(50,20,10)) |
|
|
| Report Abuse |
|
|