What you need to do before you start
You cannot import a camera directly from Blender into Roblox Studio the way you would import a model. Instead, you export your camera's position and rotation data from Blender, then recreate that camera in Roblox Studio using a script or by manually setting the values. The process takes about 15 to 20 minutes once you understand the steps.
Before you begin, make sure you have Blender installed on your computer and that you can open your Roblox Studio project. You will also need a basic understanding of how to navigate Blender's properties panel and how to add scripts to Roblox Studio. If you have never written a Roblox script before, this guide will show you the exact code to use — you do not need to write it from scratch.
Key Takeaways
- Blender cameras export as position (X, Y, Z) and rotation (X, Y, Z) numbers, which you then enter into a Roblox camera script.
- You find a camera's exact position and rotation in Blender by selecting the camera object and reading the Transform properties panel on the right side.
- In Roblox Studio, you create a new LocalScript inside StarterPlayer > StarterCharacterScripts and paste code that positions the camera using the numbers from Blender.
- Test your camera position in Roblox Studio by running the game and checking whether the camera sits where you intended it to be.
- If the camera appears upside down or rotated incorrectly, you may need to adjust the rotation values or convert them from Blender's format to Roblox's format.
Finding your camera's position and rotation in Blender
Open Blender and load the project that contains the camera you want to export. Click on the camera object in the outliner (the list of objects on the right side of the screen) or click directly on the camera in the 3D viewport. The camera will highlight in orange when selected.
Look at the properties panel on the right side of Blender. You should see a section labeled "Transform" with fields for Location and Rotation. The Location shows three numbers (X, Y, Z) that represent where the camera sits in 3D space. The Rotation shows three numbers (X, Y, Z) that represent which direction the camera points. Write down all six numbers, or take a screenshot so you have them in front of you when you move to Roblox Studio.
Pay attention to the units Blender is using. Roblox Studio measures distance in studs, and Blender typically measures in meters or generic units. If your Blender camera is positioned at X: 10, Y: 5, Z: 15, you will use those same numbers in Roblox (Roblox will interpret them as studs). The conversion is usually 1:1 for this workflow.
Creating a camera script in Roblox Studio
Open Roblox Studio and load the place where you want the camera to appear. In the Explorer window on the left, navigate to StarterPlayer > StarterCharacterScripts. Right-click on StarterCharacterScripts and select "Insert Object" > "LocalScript". A new script will appear in that folder.
Double-click the new script to open the code editor. Delete any code that is already there and paste the following code:
local camera = workspace.CurrentCamera local cameraPosition = Vector3.new(10, 5, 15) local cameraRotation = Vector3.new(0, 0, 0) camera.CFrame = CFrame.new(cameraPosition) * CFrame.Angles(math.rad(cameraRotation.X), math.rad(cameraRotation.Y), math.rad(cameraRotation.Z))
Replace the numbers in cameraPosition with the X, Y, Z values you wrote down from Blender's Location field. Replace the numbers in cameraRotation with the X, Y, Z values from Blender's Rotation field. Make sure the rotation values are in degrees (Blender shows them in degrees by default). Save the script by pressing Ctrl+S (or Cmd+S on Mac).
Testing the camera position in your game
Click the Play button in Roblox Studio to run your game. The camera should move to the position and rotation you set in the script. Look around the game world and check whether the camera is pointing in the direction you intended.
If the camera is in the right location but pointing the wrong direction, the rotation values may need adjustment. Roblox uses a different rotation order than Blender in some cases. Try swapping the X, Y, and Z rotation values around, or try negating one or more of them (for example, change Y from 45 to -45). Test each change by saving the script and clicking Play again.
If the camera appears to be looking from the wrong spot entirely, double-check that you copied the position numbers correctly from Blender. A single digit off by one or two studs can make the camera appear in an unexpected location.
Handling rotation differences between Blender and Roblox
Blender and Roblox Studio use slightly different systems for rotating objects. In Blender, rotation is often shown as Euler angles (three separate rotation values applied in a specific order). Roblox uses CFrame angles, which apply rotations in X, Y, Z order. In most cases, the code above will work without changes, but some camera angles will need tweaking.
If your camera is upside down or rotated 90 degrees off, try this: in Blender, switch the rotation mode from Euler to Quaternion (you can do this in the Transform properties). Write down the four quaternion values (X, Y, Z, W). Then replace the rotation line in your Roblox script with this code:
camera.CFrame = CFrame.new(cameraPosition) * CFrame.fromMatrix(Vector3.new(0, 0, 0), Vector3.new(1, 0, 0), Vector3.new(0, 1, 0), Vector3.new(0, 0, 1))
This approach is more advanced and requires understanding quaternions. For most camera imports, the simpler method above will work without this step.
Moving the camera script to the right place
The script you created in StarterCharacterScripts will run every time a player's character loads. If you want the camera to move only once when the game starts, or if you want it to apply to all players at once, you may need to move the script to a different location.
For a camera that applies to all players the moment the game starts, move the script to StarterPlayer > StarterPlayerScripts instead. For a camera that follows a specific part or player, you can keep it in StarterCharacterScripts but modify the code to update the camera position every frame using a loop.
If you want the camera to move smoothly from one position to another over a few seconds (rather than jumping instantly), you can add a loop to the script that gradually changes the camera position. This requires more advanced scripting, so start with the basic version first and add smooth movement only if you need it.
Frequently Asked Questions
Can I import the camera as a model file instead of writing a script?
No. Roblox Studio does not recognize Blender camera objects when you import a model. You must export the camera's position and rotation numbers and recreate the camera using a script. This is the only method that works.
What if my camera position looks correct but the rotation is completely wrong?
Try negating each rotation value one at a time (change 45 to -45, for example) and test after each change. You can also try swapping the order of the rotation values (put Z first, then X, then Y). Roblox and Blender sometimes apply rotations in different orders, so trial and error is often faster than trying to convert the math.
Do I need to delete the player character for the camera to work?
No. The camera script will position the camera regardless of whether the character is visible. If you want to hide the character so only the camera view is visible, you can add code to make the character invisible, but it is not required for the camera to function.
Can I animate the camera between multiple positions from Blender?
Yes, but you will need to export multiple camera positions from Blender and create a script that moves the camera between them over time. This requires a loop and timing code, which is beyond the basic import process. Start by getting one camera position working first.
Why does my camera appear inside a wall or underground?
Check that you copied the position numbers correctly from Blender. Also verify that your Blender scene and your Roblox place use the same scale — if your Blender model is much larger or smaller than your Roblox build, the camera position will be off. You may need to scale the position numbers up or down to match.