generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to see if the person is in first person?

Previous Thread :: Next Thread 
PersistentData is not online. PersistentData
Joined: 04 Apr 2011
Total Posts: 6224
07 Aug 2011 08:51 PM
yeah I'm sorry for asking so much stupid questions today
Report Abuse
MicroUser is not online. 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 is not online. 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 is not online. 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
PersistentData is not online. PersistentData
Joined: 04 Apr 2011
Total Posts: 6224
07 Aug 2011 08:58 PM
@Davidii
So like:
character.Head.CFrame ~= game.Workspace.CurrentCamera.CoordinateFrame
?
Report Abuse
MicroUser is not online. 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 is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
07 Aug 2011 09:00 PM
MicroUser, you are back?!!! =O
Report Abuse
MicroUser is not online. 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
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
07 Aug 2011 09:19 PM
I thought .magnitude was a property.

Silly me.
Report Abuse
PersistentData is not online. PersistentData
Joined: 04 Apr 2011
Total Posts: 6224
07 Aug 2011 09:22 PM
It's a property of Vector3.
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
07 Aug 2011 09:24 PM
Why was a bot wasted on this thread...

~The Master~
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
07 Aug 2011 09:26 PM
It was for science.
Report Abuse
nickmaster24 is not online. nickmaster24
Joined: 04 Oct 2008
Total Posts: 8906
07 Aug 2011 09:28 PM
^

~The Master~
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
07 Aug 2011 09:38 PM
z0mg h4ks i have 12k posts
Report Abuse
MicroUser is not online. 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
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
07 Aug 2011 09:41 PM
You can't set any of the properties in a Vector3, so it works.
Report Abuse
cymru72 is not online. 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 is not online. MyrcoAlt
Joined: 31 Mar 2011
Total Posts: 209
08 Aug 2011 06:03 AM
There's also Humanoid.Straffing >_>
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
08 Aug 2011 06:56 AM
U dun no wut strafing is soni?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image