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: Camera System

Previous Thread :: Next Thread 
StoryBased is online. StoryBased
Joined: 16 May 2012
Total Posts: 658
11 Nov 2017 06:12 PM
https://www.roblox.com/games/412887834/Camera-System-Test
(WASD to move, scroll to zoom, Q/E to rotate)


So, right now the movement script is based off of Vector3, so it moves on an axis. This is fine for 2D movement, however when rotating, all the controls are reversed.

Is there any way to make controls dynamic, and go the direction relative to where the camera is pointing, rather than based off a global axis? I've tried using cframe.lookVector, but there are always so many issues, I just revert back to vector3

Don't say "use cframe", because that is the most useless answer ever..


Report Abuse
Luo_Basics is not online. Luo_Basics
Joined: 20 Jan 2014
Total Posts: 5752
11 Nov 2017 06:39 PM
https://blog.roblox.com/2017/11/introducing-new-pathfinding-system-orbital-camera/

u mean like this "orbital camera"


if (dev.ShouldLearnNewLanguage){dev:LearnJS()}
Report Abuse
StoryBased is online. StoryBased
Joined: 16 May 2012
Total Posts: 658
11 Nov 2017 06:42 PM
i made this a year before that.


Report Abuse
StoryBased is online. StoryBased
Joined: 16 May 2012
Total Posts: 658
11 Nov 2017 06:43 PM
also no, not really. It has more features.


Report Abuse
Luo_Basics is not online. Luo_Basics
Joined: 20 Jan 2014
Total Posts: 5752
11 Nov 2017 06:43 PM
yea yea off to jail young man


if (dev.ShouldLearnNewLanguage){dev:LearnJS()}
Report Abuse
StoryBased is online. StoryBased
Joined: 16 May 2012
Total Posts: 658
11 Nov 2017 06:44 PM
are you just going to crappost


Report Abuse
StoryBased is online. StoryBased
Joined: 16 May 2012
Total Posts: 658
11 Nov 2017 06:56 PM
okay. well. after a year of headaches, the solution to the problem was using * instead of +. k, i hate life now

(I tried to do script.Parent.CFrame = script.Parent.CFrame + CFrame.new(0,0,-1), and it would error. though, apparently script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,0,-1) works)


Report Abuse
Voxxie is online. Voxxie
Joined: 27 Aug 2006
Total Posts: 325
11 Nov 2017 06:57 PM
can you please watch your mouth, my mom reads this :/
Report Abuse
StoryBased is online. StoryBased
Joined: 16 May 2012
Total Posts: 658
11 Nov 2017 06:59 PM
no


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