Hi. This is probably a really simple thing to do, but I can’t figure out how to do it. I’m making a 2D game similar to the “helicopter” game where you have to avoid touching the ground and other obstacles. The helicopter is a Pawn class. I want to make it pass by an object (Actor class) and increase the helicopter’s horizontal speed by a certain amount.
I’m really new to blueprints so if anybody could explain using diagrams I would be very grateful.
Hi
If you open your character blueprint and go to your Character Movement component, the details pane will have a number of variables you can affect. To alter them, once your actor overlaps the other blueprint, have that blueprint cast to your character, get the movement component, and set the variables within your charactermovement component as you see fit. If you are in flying mode fly speed and max fly speed may be good options, you can also directly affect velocity from the character movement component. You can find more information on setting up the movement component here:
https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/index.html