Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Camera Introduction Menu Help?

Asked by
iLegitus 130
8 years ago

So,I've tried in many ways to do this.

I just specifically want to import a build that i would have made,And have the camera point/look at a certain brick at a certain FOV. When i tried doing the camera,It looked completely off.

How would i do this,So that each individual player only see's HIS introduction build and not other players's?

1 answer

Log in to vote
0
Answered by
1N0body 206 Moderation Voter
8 years ago

Camera manipulation

A simple way would be.

In a localscript

  1. Get player's camera

  2. Import the build or make the build to be a Local Part

  3. Get the brick and set it to the camera's Focus.

  4. the FOV would look like this (as also seen in the wiki link)


camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part * CFrame.Angles(0, angle, 0) --Rotate by the angle * CFrame.new(0, 0, 5) --Move the camera backwards 5 units -- Camera CFrame goes like this = Position * Rotation * "The-Field-Of-View-You-Need"

Hope it helps.

Ad

Answer this question