![]() Self.activeTransparenc圜ontroller:Update(dt) Update to character local transparency as needed based on camera-to-subject distance LastCameraMode = UserInputService.MouseBehavior TweenService:Create(currentCamera, CameraTweenInfo, ):Play() If LastCameraMode ~= UserInputService.MouseBehavior and (UserInputService.MouseBehavior = or UserInputService.MouseBehavior = ) then Here is where the new CFrame and Focus are set for this render frame NewCameraCFrame, newCameraFocus = self.activeOcclusionModule:Update(dt, newCameraCFrame, newCameraFocus) Local newCameraCFrame, newCameraFocus = self.activeCameraController:Update(dt) Self.activeCameraController:UpdateMouseBehavior() Local LastCameraMode = UserInputService.MouseBehavior I currently use TweenService in the CameraModule function below:Ĭode in CameraModule local CameraTweenInfo = TweenInfo.new(0.75,, , 0, false, 0) ![]() I’ve been trying to implement a smooth transition for entering or exiting shiftlock in my game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |