I am a learner and I making a game like Pubg but I am having trouble in making that plane path and spawning from plane so is there a way to do it in blueprint or this can be done in c++ so plz can you explain how to do that in blueprint or with c++
its actually rather simple to do in blueprint (i dont know c++ im sure its possible there as well). the basic idea is that you have a spline that the plane follows and you just update the planes position at a regular interval which move it along. so all you really need is a variable that represents the planes position along the spline, then on tick add a given amount to that value and set the planes position. see the picture below for an example, this is a script i made for a project where it was a looping spline so it may not all apply here.
ok so in the picture (disreguarding everything before the branch) you can see that we get the distance along spline then add the movement speed (distance to move) then we set the distance along spline. then we use a get location at distance along spline to convert the distance along the spline to a world space location vector. then we set the location of the cube (plane in your case). i also wanted the object to orient its rotation to the spline as well so i used a find look at rotation and compared the current location to a location further along the spline and set the rotation.
now as for the spawning of the players from the plane all you need to do is get the location of the plane and use that as the spawn location for the character.
Thank you For Quick Replay But How can I Change the spawn player to plane and then by Prassing " f " to Change Back To Player
i have no idea what your trying to say here. try explaining it more or in more clear language.
I am saying that how can i change the player to plane when the timer gets to 0 in lobby and how to apawn player from the plane
personally i would just have the lobby and the main game in two separate levels. then when you load the game level all the characters in the previous lobby level are destroyed. you can then just have the spawn location for the players set to be the planes location. as for the timer that would just be the thing that initiates the changing of the level via the open level node.
but theres a problem with open level node that it opens two separate levels for every player but i want every player to be the same level
thats where server travel and things come in. i cant help you there as i only know the basics of the multiplayer system and havent tried to implement it myself. but there is a way to accomplish it where the server creates and loads a level then sends a message to the clients and they connect to the same level.
Thats fine but can you ask someone who knows completely abouth multiplayer system
nope i cant. like many here i am a solo hobbiest. i dont work for epic or any other games industry company. i answer questions here to help others where i can, have fun, and learn from the issues of others.
if i were you i would ask another question that pertains to that specific topic as its a bit beyond the scope of what youve asked in this thread.
Ya that’s right can you check out my other questions I like if you answer that questions because your good at answering the questions