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 » Scripting Helpers
Home Search
 

Re: Camera Pivot

Previous Thread :: Next Thread 
SlenderStudios is not online. SlenderStudios
Joined: 16 Aug 2012
Total Posts: 76
19 Feb 2013 05:01 PM
how would i make the camera pivot around a point based on where its pointing?
like, the camera placement is on a line from mouse.hit, through a part, and 10 studs after the part?
Report Abuse
xxCONTENTDELETERxx is not online. xxCONTENTDELETERxx
Joined: 06 Aug 2012
Total Posts: 667
19 Feb 2013 05:16 PM
refreshing to top of forum help so others can help...
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
19 Feb 2013 05:18 PM
Could you be more specific? This might help, but I may have misinterpretted: http://wiki.roblox.com/index.php/Camera_manipulation Or you may just want to set the CameraType. Once again, not exactly sure what you mean...
Report Abuse
SlenderStudios is not online. SlenderStudios
Joined: 16 Aug 2012
Total Posts: 76
19 Feb 2013 05:43 PM
okay so ill be more specific. i want the player's camera to be placed on a line that starts from where the player's mouse hits, and goes through a part's position. the cameras focus (the direction of where its looking) would be where the mouse hits. its simple if you place the camera on the part and looking where the mouse points, but i need it to be placed a fixed amount of studs away from the part (while still being on the line from the mouse's hit to the part). i believe it would be done by using rays to find out the coordinateframe and focus.
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
19 Feb 2013 06:00 PM
If I understand you correctly, I would set the CFrame to the Mouse's Hit, and focus on the Part.
Report Abuse
SlenderStudios is not online. SlenderStudios
Joined: 16 Aug 2012
Total Posts: 76
19 Feb 2013 06:25 PM
i was thinking of it wrong, my apologies, think of it like a 3rd person type of view, like resident evil. the camera will always stay behind the player, but will be pointing in the direction of where the mouse hits. but instead of the camera standing beside the player, it will be above and somewhat behind.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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