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
 

Camera help.

Previous Thread :: Next Thread 
rfvt45 is not online. rfvt45
Joined: 15 Oct 2011
Total Posts: 275
13 Sep 2016 11:13 PM
How do I make my camera lock onto players? Like if they flip upside down there camera will be upside down aswell I'm trying to make a space game where they can flip around in space but if there camera is always facing up it looks stupid.
Report Abuse
Repsej112 is not online. Repsej112
Joined: 22 Jan 2013
Total Posts: 205
14 Sep 2016 02:57 AM
I dont know if this will work but you can try. Make a raycast go from the players face straight forward. Then make a renderStepped function that will set the camera.Focus to the position of the nearest part that is touching the ray.
Report Abuse
taragaram3 is not online. taragaram3
Joined: 03 Jul 2009
Total Posts: 285
14 Sep 2016 03:00 AM
if i'm not mistaken there is an option in the CameraType property you can use that will do this for you


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