[PAID] Free Camera script

Description:
I need a script, that can take the camera, no matter how it’s angled, and rotate it up and down and around the y axis. And move with the wasd keys. NOTE: It can’t be done with roblox camera scripts, I don’t use those.

This sounds like a simple thing but I can’t get it to work. Remember, it has to start from the cameras CFrame.

Reward:
Whatever sum Robux we both find appropriate.

Doesn’t the “Attach” camera type already do this?

https://i.gyazo.com/83157d4583bea990f2e94b72b4beff88.gif

That can be found in my opensource place + a lot of other useful functions and stuffs.

And if you’re feelin nice… Maybe donate some? Donation Shirt - Roblox
c:

That’s the thing, I don’t use roblox camera script.

Doesn’t this use roblox camera script?

You need to find the angle around Y axis, and the pitch angle (atan2 and asin, using the unit vector direction of camera from player, I think (x,z for first, y for second))

Then WASD just change those for the duration theyre down.

Then do the same math to go back from angles to camera direction, and put the camera there pointing at the player with the regular CFrame.new(from, to) constructor.

If the camera must rotate with the player without WASD, just find the angle of the player and subtract it from the initial Y angle, and add it to the Y angle when placing the camera down (so the angles WASD operates on are relative to player space)

I do get the general idea of execution but what I requested is someone who can script the whole thing for me so I can focus on other matters. Thanks for the hints tho.

If what I’m giving here is anything like you want, keep the money or just give it to someone else. If not oh well it was fun making it.

free_cam_script.lua (AKA THE GOODS)

1 Like

SOLD! To the Gentleman in the funny looking outfit!

That rotateCamera function was EXACTLY what I was looking for! Thanks a ton for sharing!

I just want to say, that thing your building looks good. :0

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.