Character walks in the wall

Every time i start the game, my character spawns in the wall even though i make a spawn point in the middle of the map, he gets teleportet to the wall, even though i delete the wall he gets teleportet to the location of the wall :face_with_spiral_eyes:

Allow me to consult my crystal ball.

After a cursory glance at the crystal ball, I am unable to see anything except a strange looking gerbil which is rubbing its face against a keyboard. This at first glance, doesn’t appear to relate to your question, so perhaps I can’t help.

rofl …!

What the gerbil is trying to type as it rubs it’s face on the keyboard is that your character probably has the run’s and needs the loo. Are you sure you don’t have a toilet collider in the location your character keeps spawning to?

Well , so far completely derailed… can you post your spawn code , etc … its prolly a silly problem , but without the info , at best , its just not possible to pin point anything.

I’ve just created a empty object named it spawn, and locate where i want it to be, and then attached it to the game character

Hmm that doesnt really make sense … you have no code you can show , of where / how this char is spawned into the scene … or maybe im missing something totally here…

it don’t have a code, i’ve just made a character and added the platformercontroller and so on… and then i’ve created a empty object as a spawn point and so on…
This video shows you how i’ve done it (skip to 8 minute)

Actually, I think I know the answer to your problem. Check if your player has an animation attached to it, if so delete it.

I’m new to Unity… so what do you mean when you so say animation, because i only have platformercontroller, character controller attached to the character :slight_smile:

It will look just like those, except it’s an animation. Check if you have an animation attached to ANYTHING in your scene, and delete it.

Hmm , to be honest that video didnt help much … adding the spawn point to the character, and having the character still in scene… (ideally spawning a character means , it wasnt in the scene to start with…) the entire process just seems messed to me… i did skip to where you said in time , maybe i will watch your whole video and see if i can spot whats goin on there…

could you give an example to what an animation could be? i’ve given the floor and walls colors and so, that isn’t a animation is it ?

No its not , in the gameObject there would be an animation component (delete it) … but im guessing you have no animations , as its a capsule … and if you dont know about , i find unlikely you added one,

the what could be the problem ?
would it help deleting the character and making a new on just like it

Gimme ten or twenty minutes to watch through the entire vid , i will post back if tate hasnt gotten to the bottom of it by than…

Ok, so i watched the entire video… and to be honest , im not sure why you have chosen to do things the way you have, but i honestly recommend getting just a little more Unity workflow under the belt… a good 8 minutes is spent of ten minutes making things astheticly appealing …

At any rate, with all the importing of *Unity assets , scripts, and than you deleting them all off the capsule , it seems as if your making it more confusing than it needs to be. If by some chance you just can not get a player spawn working at all… give me a pm

Delete your character, and re-make it. Reattach the components to it. If it still moves by itself, then it could be the script. Double check you are typing it right.

Also, wrong section, mate.