I made a thread earlier on this but I felt I should delete it and start more basic on what I'm trying to do.
I need help writing blueprints for creating surfaces where the player will orient themselves to it and be able to run and jump on it. I've seen plenty of videos of this being done, seen C++ examples, and visited and commented on other threads related to it but have found no answers, I need some sort of guidance and would appreciate any that can be given.
My theory on how to accomplish this so far from what I've read that I would need to disable all gravity, have a constant trace pointing down from the player, getting the floor's vector, and then applying force in that direction, though I have no clue how to set that up in blueprints. At the moment I'm also debating to either have a simple octagon shaped track so the lanes are all flat and not needing 360 different vectors to constantly shift the gravity with every tick (it's probably not too much a burden on performance but nothing is certain), or see if they can be curved so it its a smooth tube shape.
My goal is to create a endless runner with the lanes set up around a tube, the player (either in the form of a vehicle, a ball, or even a ball-shaped vehicle) will strafe left to right, and when they jump, if there's a lane opposite to them, they will flip and grip to that one (probably using two additional traces, one for detecting the lane is there to enable jumping, and one to extract the vector and reorient the player). I figured the first priority is make it so the player can run on any lane no matter how it's oriented, once I have that, the other mechanics can be added one by one.
I need help writing blueprints for creating surfaces where the player will orient themselves to it and be able to run and jump on it. I've seen plenty of videos of this being done, seen C++ examples, and visited and commented on other threads related to it but have found no answers, I need some sort of guidance and would appreciate any that can be given.
My theory on how to accomplish this so far from what I've read that I would need to disable all gravity, have a constant trace pointing down from the player, getting the floor's vector, and then applying force in that direction, though I have no clue how to set that up in blueprints. At the moment I'm also debating to either have a simple octagon shaped track so the lanes are all flat and not needing 360 different vectors to constantly shift the gravity with every tick (it's probably not too much a burden on performance but nothing is certain), or see if they can be curved so it its a smooth tube shape.
My goal is to create a endless runner with the lanes set up around a tube, the player (either in the form of a vehicle, a ball, or even a ball-shaped vehicle) will strafe left to right, and when they jump, if there's a lane opposite to them, they will flip and grip to that one (probably using two additional traces, one for detecting the lane is there to enable jumping, and one to extract the vector and reorient the player). I figured the first priority is make it so the player can run on any lane no matter how it's oriented, once I have that, the other mechanics can be added one by one.
Comment