Custom camera frozen, Moving kills me

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    To get moving and my custom camera to work again.

  2. What is the issue? Include screenshots / videos if possible!
    Simply, if i have no save data, i cant move my camera and moving kills me.
    I also get the placeholder hat i got from a other thing?

Whenever i dissapear is when i try to move. Alot of things are custom.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    None. Absolutely no one else has had this issue from what i know.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

I dont have anything to show in code, as i do not know what part of the code is even broken.

I dont have any code related to killing/destroying the player character.

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

1 Like

You need to set the camera’s CameraType back to Enum.CameraType.Custom after the button has been pressed.
Enum.CameraType.Custom is the default camera system.

Im not using roblox’s camera, im using my own custom camera. and its in Scriptable mode.

hey guys, i’ve fixed this.

apparently for some reason, the cameras cframe was getting set to nan. moving is based off of the cameras forward direction so i was moving towards, well. nan. roblox kills you if you go to nan.

the reason why the camera was getting set to nan was simply because of some nil values in a math statement, so now i simply check if the cameras cframe is nan. and if it is then it gets set to a new cframe and everything gets resolved now :slight_smile:

1 Like

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