Make the Player Start movable

Hi everyone !

I’m asking you a quick question, how can i edit the capsule component inside the player start to make it movable ?

I never did C++ and i would be great if you can give me some answer or ideas !

Thank you and have a nice day !

1 Like

Do you mean move it at Runtime, or during play, or what? I’m curious why you would even need to move the PlayerStart in the first place, if you need multiple possible spawn locations there are other ways to do it.

I needed this functionality too. I ended up just creating a new placeable BP derived from actor. Named it MySpawnPoint. Then you override the SelectStartingPoint (or whatever it’s named - I’m not at my dev box) function in your GameMode BP. Modify this function to look for your MySpawnPoint using whatever search logic you want (get actors of class or whatever) and go from there. No need to use c++ for this. As far as I can tell the built in PlayerStart object is just a placeholder type thing so there really is no reason to derive from it. So far I have had no problems using this.

1 Like

Is there any information about it?Did you found the solution?
I also stuck with this problem. I need to move player in the game beggining for a few pixels left.I made blueprint like in tutorial:


And when i start game,i had an error:
“Mobility of PlayerStart_2: CollisionCapsule has to be ‘Movable’ if you’d like to move”
When i opened the properties of this object, i saw that i couldn’t change anything
2.PNG
What i need to declare and where?Is there any example?I tryed to add

in PlayerStart.h but it didn’t helped me((

My logical mistake,i must move player and not player start)

1 Like

So what function did you used to get the player ? I have same issue but I’m not sure what function to use.

How were you able to get reference to player , which function you used. I have a same BP as yours.

You can easily do this by make a C++ class that inherits from APlayerStart, then in constructor GetCapsuleComponent->Mobility = EMobolitiyEnum(can’t remember it’s exact name)::Movable

1 Like