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: Help with my for loop

Previous Thread :: Next Thread 
UltimateRaheem is not online. UltimateRaheem
Joined: 10 Nov 2012
Total Posts: 1886
18 Dec 2016 05:09 AM
local camera = workspace.CurrentCamera
for i = 0, 1, 0.01 do
camera.CoordinateFrame = camera.CoordinateFrame:lerp(CFrame.new(10, 10, 10), i)
wait()
end

This works fine, it's just that at the end, when I try to move my camera by right clicking, the camera keeps glitching out.


http://wiki.roblox.com
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
18 Dec 2016 06:22 AM
Make sure to change the camera type back to Custom
Report Abuse
UltimateRaheem is not online. UltimateRaheem
Joined: 10 Nov 2012
Total Posts: 1886
18 Dec 2016 06:23 AM
I did do that, but it still isn't workin


http://wiki.roblox.com
Report Abuse
UltimateRaheem is not online. UltimateRaheem
Joined: 10 Nov 2012
Total Posts: 1886
18 Dec 2016 06:23 AM
How can I get the position of the humanoid of the player?


http://wiki.roblox.com
Report Abuse
unvexed is not online. unvexed
Joined: 30 Jan 2016
Total Posts: 26
18 Dec 2016 07:01 AM
Humanoid doesn't have a 3D position.
Report Abuse
Collect1ve is not online. Collect1ve
Joined: 24 Dec 2008
Total Posts: 772
18 Dec 2016 07:12 AM
Player.Character:GetModelCFrame().p

Returns a Vector3 position of the CFrame.


Report Abuse
UltimateRaheem is not online. UltimateRaheem
Joined: 10 Nov 2012
Total Posts: 1886
18 Dec 2016 10:45 AM
What is the camera subject? Is it the head?


http://wiki.roblox.com
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