|
| 07 Aug 2011 08:51 PM |
| yeah I'm sorry for asking so much stupid questions today |
|
|
| Report Abuse |
|
|
MicroUser
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3601 |
|
|
| 07 Aug 2011 08:52 PM |
.Focus value?
OT: Everybody is on first person duh. |
|
|
| Report Abuse |
|
|
MyrcoAlt
|
  |
| Joined: 31 Mar 2011 |
| Total Posts: 209 |
|
|
| 07 Aug 2011 08:52 PM |
| Argh this is your tirth Thread about fps already x_x |
|
|
| Report Abuse |
|
|
Davidii
|
  |
| Joined: 17 Jul 2008 |
| Total Posts: 1282 |
|
|
| 07 Aug 2011 08:52 PM |
| Check the distance between the Camera and the Head... that's how I did it. It was a bit choppy... =P |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2011 08:58 PM |
@Davidii So like: character.Head.CFrame ~= game.Workspace.CurrentCamera.CoordinateFrame ? |
|
|
| Report Abuse |
|
|
MicroUser
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3601 |
|
|
| 07 Aug 2011 09:00 PM |
| ^ Convert both CFrames to Vector3 values and then subtract them (magnitude method if it still exists). |
|
|
| Report Abuse |
|
|
nightname
|
  |
| Joined: 10 Jun 2008 |
| Total Posts: 8960 |
|
|
| 07 Aug 2011 09:00 PM |
| MicroUser, you are back?!!! =O |
|
|
| Report Abuse |
|
|
MicroUser
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3601 |
|
|
| 07 Aug 2011 09:01 PM |
| Until I get back to school, had nothing to do on vacation.... |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2011 09:19 PM |
I thought .magnitude was a property.
Silly me. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2011 09:22 PM |
| It's a property of Vector3. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2011 09:24 PM |
Why was a bot wasted on this thread...
~The Master~ |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Aug 2011 09:38 PM |
| z0mg h4ks i have 12k posts |
|
|
| Report Abuse |
|
|
MicroUser
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3601 |
|
|
| 07 Aug 2011 09:39 PM |
| I'm pretty sure it's a method, how would it make sense for it to be a property? |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2011 09:41 PM |
| You can't set any of the properties in a Vector3, so it works. |
|
|
| Report Abuse |
|
|
cymru72
|
  |
| Joined: 26 Jan 2008 |
| Total Posts: 4362 |
|
|
| 08 Aug 2011 05:51 AM |
local Cam = game.Workspace.CurrentCamera local isFPS = (Cam.CoordinateFrame.p - Cam.Focus.p).magnitude < 3 |
|
|
| Report Abuse |
|
|
MyrcoAlt
|
  |
| Joined: 31 Mar 2011 |
| Total Posts: 209 |
|
|
| 08 Aug 2011 06:03 AM |
| There's also Humanoid.Straffing >_> |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2011 06:56 AM |
| U dun no wut strafing is soni? |
|
|
| Report Abuse |
|
|