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 !
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 !
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.
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:
in PlayerStart.h but it didn’t helped me((
My logical mistake,i must move player and not player start)
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