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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: cameratype scriptable can't use subject and CoordinateFrame?

Previous Thread :: Next Thread 
Eggnivia is not online. Eggnivia
Joined: 30 May 2009
Total Posts: 4144
06 Sep 2015 07:39 PM
What I'm trying to achieve is a bird's eye view camera that's locked, and not first person because I wanted the player to face the cursor (this part has been achieved). But when I use the Scriptable cameratype, it's like setting the CoordinateFrame and CameraSubject doesn't affect the camera?

This is in a Localscript, and is not in a repeat or loop function

cv = currentcamera
bp = BodyPosition of brick (camera)

cv.CameraType = "Scriptable"
cv.CoordinateFrame = CFrame.new(player.Character.HumanoidRootPart.Position.X+0,10,player.Character.HumanoidRootPart.Position.Z+20)
cv.CameraSubject = brick

while true do
game:GetService("RunService").RenderStepped:wait()
bp.position =
Vector3.new(player.Character.HumanoidRootPart.Position.X,player.Character.HumanoidRootPart.Position.Y,player.Character.HumanoidRootPart.Position.Z)
end

Report Abuse
Eggnivia is not online. Eggnivia
Joined: 30 May 2009
Total Posts: 4144
06 Sep 2015 07:40 PM
It would only make sense to me to put the CoordinateFrame in a loop as it's using a raw CFrame location, but it still doesn't do anything.
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