Changing the Transparency property of the cube Transparency can be a value between 0 and 1, where 1 is fully transparent and therefore invisible. Remember that you can see a part's properties if you select it and look at the Properties window.Ī part can be made invisible by changing the Transparency property. Parts have various properties that can be used here. When the platform disappears, it needs to be invisible and users need to fall through it - but you can't just destroy the platform since it needs to reappear later. You'll learn more about passing information to functions in a later course. The parentheses are for including additional information as needed. The code for a function goes between the first line and end. This works well, by sending the camera viewport to the front face of the CutsceneCam part, however it just suddenly "moves" to the part from the current cam location - I need it to smoothly move there so the player's screen can see the camera moving to the cutscene location.The first new line declares the function - it indicates the start of the function and names it as disappear. Local Char=Player.Character or Player.CharacterAdded:Wait()Ĭamera.CameraType=Ĭamera.CFrame= ![]() It is positioned in a spot facing the cutscene, and a localscript utilizes this code: Here's the situation: I have a "camera" brick that is fully transparent, and is non collidable. ![]() What I want is for the camera view to smoothly transition from the spawn to the cut scene. So far, I've worked out the details about how to bring the camera to where I want the scene to occur, however right now, when it activates, the camera "teleport" to where it is. ![]() I'm making a game in Roblox Studio where I need to set up a cut scene.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |