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: Birds Eye View Camera Help?

Previous Thread :: Next Thread 
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
19 Jun 2013 04:03 PM
How do you get the Camera to face a birds eye view without you being unable to move. I tried editing the CoordinateFrame and CameraSubject, and it works, but after I go into birds eye view, I can't move. Any way to fix this, or make a new script that does a birs eye view correctly? Thanks.

-- cardgamechampion/AlternativeAcc
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
20 Jun 2013 07:47 PM
Please help me! Someone told me the answer in a previous forum post, but I waited too long and now it's neither in the recent 25 posts or in the view more posts for some reason it skips a month lol.

Please tell me this Ive been struggling with this for weeks!!!
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
21 Jun 2013 06:33 PM
Anyone know the answer plz I really need help with this.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
21 Jun 2013 06:36 PM
You want to like move the camera and it's normal functions to a different point?
Does this "bird" have a humanoid?
Camera.CameraSubject = Bird.Humanoid
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
21 Jun 2013 06:38 PM
Not a bird, birds eye view. Right now the CameraSubject is the base that the camera is looking at, should I change it to the players humanoid? Would that fix it if the camerasubject is always the humanoid? The problem is that it does go into birds eye view, but then the player can't move while in birds eye view for some reason :P.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
21 Jun 2013 06:41 PM
I'm confused ._.
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
21 Jun 2013 06:42 PM
Like the camera is looking at the player from a birds eye view, so the camera is on top of the player looking down at them. When the camera does this, for some reason the player can't walk using WASD or arrow keys. I want to know how to make it so that the player can move. Ive been struggling with this for weeks now please help :P.
Report Abuse
HaxHelper is not online. HaxHelper
Joined: 19 Dec 2009
Total Posts: 1208
21 Jun 2013 06:45 PM
that's kind of weird

the camera by itself wouldn't cause you to stop moving

do you have any other scripts running in the player?
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
21 Jun 2013 06:50 PM
I do, they are GUIs in the Player, not the Player's Character. Whats weird is that the Player only stops being able to walk when the birds eye view script makes the view birds eye viewed, when I go back to regular view afterwards the player walks fine.

Please help if you know the answer or anything the slightest bit close lol Ive been struggling for weeks maybe even a month on this by now it's driving me CRAZY!!!

-- cardgamechampion/AlternativeAcc
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
22 Jun 2013 09:26 AM
Please someone help me on this!
Report Abuse
TrueSoulWolf is not online. TrueSoulWolf
Joined: 02 Apr 2011
Total Posts: 460
22 Jun 2013 09:28 AM
Show us your code.
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
22 Jun 2013 09:16 PM
Ok this is the code that specifically moves the camera towards the birds eye view (x is the baseplate that I want to be looking at):

camera.CameraType = "Scriptable"
camera.CoordinateFrame = CFrame.new(x.Position+Vector3.new(0,70,0),x.Position)

This seems fine to me, but my character stops moving after this is ran in the specific script for some reason. I think if I write this in the command bar it runs fine and the character does not stop moving with WASD or arrow keys, but I am not sure Assume either way with command bar. Weird huh?

-- cardgamechampion/AlternativeAcc
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
23 Jun 2013 08:03 AM
Anyone know the answer?
Report Abuse
darkero99 is not online. darkero99
Joined: 11 Mar 2011
Total Posts: 399
23 Jun 2013 08:20 AM
I do. Your player CAN move. But the camera won't...

Ꭰᴏᴍɪɴᴜs Exᴛᴇʀᴍɪɴɪɪ| Pᴇʀᴄᴜssᴏʀ ʘʙsᴄᴜʀᴜs| [-HardCore-] 2iC General| {[:Conquest:]} Private 1st Class| Imperium Empire Deadite Veteran
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
23 Jun 2013 08:23 AM
That's not at all the answer. My player can't move, and neither can my camera when I run this for some reason. Maybe it is some other code, but I doubt it, as the other code is just code to activate GUI buttons to make it so when you click a button it takes you to birds eye view... lol. Please tell me why my player can't move! Thanks!
Report Abuse
darkero99 is not online. darkero99
Joined: 11 Mar 2011
Total Posts: 399
23 Jun 2013 08:30 AM
Are you sure you can see the player?

Ꭰᴏᴍɪɴᴜs Exᴛᴇʀᴍɪɴɪɪ| Pᴇʀᴄᴜssᴏʀ ʘʙsᴄᴜʀᴜs| [-HardCore-] 2iC General| {[:Conquest:]} Private 1st Class| Imperium Empire Deadite Veteran
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
23 Jun 2013 08:32 AM
Yes I am positive what I am saying is correct, I tested this countless times and tried to fix it a ton of times and I just can't fix it. I can see the player. The player won't move when I run this code. When I set it back to regular camera properties, the player can move again. Maybe it will magically fix itself if it's not some script problem. Is it a script problem?
Report Abuse
awesome404 is not online. awesome404
Joined: 11 Jan 2009
Total Posts: 3601
23 Jun 2013 08:35 AM
Like when you press "z" or "q" in some snipers it zooms up?
Report Abuse
petro180 is not online. petro180
Joined: 30 Mar 2009
Total Posts: 354
23 Jun 2013 08:36 AM
Try adding this to the script:

game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
Report Abuse
darkero99 is not online. darkero99
Joined: 11 Mar 2011
Total Posts: 399
23 Jun 2013 08:36 AM
Depends on which method you used. Try using a subject with a humanoid. Maybe it'll help.

Ꭰᴏᴍɪɴᴜs Exᴛᴇʀᴍɪɴɪɪ| Pᴇʀᴄᴜssᴏʀ ʘʙsᴄᴜʀᴜs| [-HardCore-] 2iC General| {[:Conquest:]} Private 1st Class| Imperium Empire Deadite Veteran
Report Abuse
darkero99 is not online. darkero99
Joined: 11 Mar 2011
Total Posts: 399
23 Jun 2013 08:38 AM
@awesome It's simply using a brick which the camera follows. Once they press a key, it will go nearer.

Ꭰᴏᴍɪɴᴜs Exᴛᴇʀᴍɪɴɪɪ| Pᴇʀᴄᴜssᴏʀ ʘʙsᴄᴜʀᴜs| [-HardCore-] 2iC General| {[:Conquest:]} Private 1st Class| Imperium Empire Deadite Veteran
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
23 Jun 2013 08:52 AM
Ok I'll try that, but then how do I get the camera looking at the baseplate still after that?

Do I use the Focus property? I can't because the CameraType is Scriptable. Idk how to use CoordinateFrame to make it look at the baseplate, is it a second argument?
Report Abuse
darkero99 is not online. darkero99
Joined: 11 Mar 2011
Total Posts: 399
23 Jun 2013 08:54 AM
Use cam.CameraType = "Attach"


Ꭰᴏᴍɪɴᴜs Exᴛᴇʀᴍɪɴɪɪ| Pᴇʀᴄᴜssᴏʀ ʘʙsᴄᴜʀᴜs| [-HardCore-] 2iC General| {[:Conquest:]} Private 1st Class| Imperium Empire Deadite Veteran
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
23 Jun 2013 08:57 AM
--Some pseudocode for you--


Character.Humanoid.Running:connect()
Cam.CameraType = "Scriptable"
Cam.CoordinateFrame = Character.Head.CFrame * CFrame.new(0, 70, 0)
Cam.CameraSubject = Character.Humanoid
end)

Try this
Report Abuse
AlternativeAcc is not online. AlternativeAcc
Joined: 29 Mar 2012
Total Posts: 1337
23 Jun 2013 10:11 AM
Tried Attach it made it so that the camera looks at a 90 degree angle from where it's supposed to be, but the player could move.

Can't do Running because its a button thats supposed to switch between birds eye view and regular, but copied and pasted code into my script for when the button is in birds eye view. Errored because I didn't define character, but the camera looked at the opposite direction I wanted it to look at, I fixed it, and I think it will do the same now. It looks up in the sky instead of at the baseplate for some reason, even though the CameraSubject is the Humanoid. Weird. Yeah I was right now its looking at the ceiling with no errors, help plz! Its getting there.
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