My StarterCharacter in my game is a ball that rolls but the problem is that the camera keeps on moving up and down as seen down below
Is there any way for me to fix this some sort of camera setting or script I can add
Here is what the character looks like in case you are intrested
1 Like
Scottifly
(Scottifly)
December 5, 2020, 8:51am
#2
Where is the HumanoidRootPart in relation to the Ball? Are they centered to each other or is there an offset?
I made the humanoid root part in the exact center of the ball
This is caused by a offset when CameraSubject is a humanoid. You could set the Humanoid.CameraOffset
to something like Vector3.new(0,-x,0)
, which I’m not sure about how to calculate x
.
Or you could set Camera.CameraSubject
to the ball? This isn’t tested though.
1 Like
Scottifly
(Scottifly)
December 5, 2020, 8:59am
#5
I did a search and found this. It mentions how to change the current camera to focus on the ball.
Heyo devforum! I have a question for everyone today! How would I make the character spawn in as a ball, and that ball would actually roll as well? Here a YouTube video of what I am trying to achieve!:
Thanks in advance!
1 Like