Hi, I’m very new to Unity and I have a problem. I’ve made a map and I put a character controller in it. But whenever I push play to test the map, The character controller flies up in the sky. He never comes down. I have put a Rigidbody on the character with use gravity, But it still don’t work. Any solution?
Did that, Didn’t work :([quote=“Mattmakesgames_1, post:2, topic: 521391, username:Mattmakesgames_1”]
First of all I’d say, select the object and make sure that the green lines (colliders) are not going through the map or any other objects.
[/quote]
The picture is added in the main section in the thread[quote=“Mattmakesgames_1, post:4, topic: 521391, username:Mattmakesgames_1”]
Can you take a screenshot of your scene with the character selected and post it on here?
[/quote]
Try changing the tag to player and if that doesn’t work de-active each script one at a time by clicking the blue tick in the top left of each one to work out which one is causing the problem.
Tested, Didn’t work[quote=“Mattmakesgames_1, post:6, topic: 521391, username:Mattmakesgames_1”]
Try changing the tag to player and if that doesn’t work de-active each script one at a time by clicking the blue tick in the top left of each one to work out which one is causing the problem.
[/quote]
Yea :/[quote=“Mattmakesgames_1, post:8, topic: 521391, username:Mattmakesgames_1”]
So even with all the scripts on it switched off it still goes up in the air?
[/quote]
It keeps on flying[quote=“Mattmakesgames_1, post:10, topic: 521391, username:Mattmakesgames_1”]
That’s odd Does he keep on flying or stop at a certain point?
[/quote]
I think I fixed it. I unchecked the Third Person Controller Script on the terrain and then unchecked “Use Gravity” on rigidbody on the Character Controller [quote=“Mattmakesgames_1, post:12, topic: 521391, username:Mattmakesgames_1”]
Do you have any other scripts in your project? Also try pausing and resuming and see if it stops and add another capsule and see if that goes up.
[/quote]