|
| 14 Aug 2014 01:24 PM |
Like if I wanted to make an FPS script,
brick.CFrame = Workspace.CurrentCamera.CoordinateFrame * CFrame.new(offset)
I mean there's a lot more that I need to add in. Would this line of code orient the brick to rotate according to the camera, and make an offset? |
|
|
| Report Abuse |
|
|
| |
|
WebGL3D
|
  |
| Joined: 04 Sep 2013 |
| Total Posts: 28311 |
|
|
| 14 Aug 2014 01:49 PM |
You should test things before asking if they would work, but yes.
~ 1Topcop ~ WebGL3D ~ Java3D ~ Data3D |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2014 01:53 PM |
Haha! Thanks!
Only reason I'm asking SH is because I spent all last night blindly fiddling (to no avail) with raycasting and making a brick orient to where you're looking. And today I'm not at a computer but was really curious.
Thanks once again! |
|
|
| Report Abuse |
|
|