Hello, I’m new to Unreal and I’m trying to get a ball to roll, but input isn’t registering. I have a blueprint with a physics enabled sphere and axis mappings for the wsad keys. Nothing I have tried can get the ball to roll. What am I doing wrong? I’m using UE5.0.1
Click in “Vel Change”
Are you talking about Vel Change under the event graph for the ball? I checked it but the ball still doesn’t roll
your ball is the default pawn in the game mode?
I think so, in the blueprint eventgraph, under Variable → Category → it says Default
Settings>Project Settings>maps and modes>default pawn class
you can put an enable input on begin play, but it should work without that and without the input multiplier
I set the default pawn to BallBP and I made my event graph similar to the one posted, but the ball still won’t move. I don’t know what’s wrong, here’s what I’ve currently got
So I tried it again and it says player controller_0, and then -10 or plus 10. It wasn’t rolling till i clicked the mouse on screen when it started working for some reason which is good. But every time I test the ball i have to click first. Can I make it so I don’t have to do that every time I test?
yeah u need to click, but if u dont want to click put this in the gamemode blueprint
Thanks so much! I only had one other question, why does a copy of my ball spawn at world origin every time I test in addition to the one I placed?
Thanks so much! I only had one other question, why does a copy of my ball spawn at world origin every time I test in addition to the one I placed?
this is because the gamemode makes the spawn, practically the one you put in the level is useless
if you want to position where your sphere appears you have to add a player start, from the place actor menu
If it doesn’t appear, go to the top bar where it says window and there look for “place actors”