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: Some help with CameraManipulation?

Previous Thread :: Next Thread 
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
09 Jan 2015 11:37 PM
Hi guys, I'm trying to force my camera to stay in a certain spot/direction. I'd use the Attach function of CameraType, but because of the CameraManipulation I wish to perform upon the Camera, I need it to be scriptable.

After reading the wiki, I still don't quite understand how I would force my camera to stick in a position and direction. Thanks.

~am a cat meow~
Report Abuse
ash877 is not online. ash877
Joined: 18 Feb 2008
Total Posts: 5142
09 Jan 2015 11:39 PM
You need to know the position and rotation matrix of the camera. If it's a specific direction go into studio and position the cam where you want it. type in cmd print(game.workspace.CurrentCamera.CoordinateFrame)

Copy the output and set the camera's type to scriptable and give it a new CFrame.
Report Abuse
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
09 Jan 2015 11:44 PM
Oh, awesome. Appreciate it!

~am a cat meow~
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