I have a widget. When I click the button I want it to change my baseball speed to what I have here in New Var 3. The issue is that the motion controller is none. I simply right clicked on the target and select promote to variable. I don’t know how to get this to reference my BP_motionController.
All I want is the baseball speed to change. It is currently -2500 on the x. Changing it to 0 would at least let me see a change. It does not work. It is still -2500 and I get an error message about baseball object being none.
Here’s a step by step video showing how to accomplish velocity changes after spawning. Video covers the entire process from projectile actor creation, spawning, referencing and modifying velocity after spawn (increase/decrease).
@Rev0verDrive Thanks for making the video. It still doesn’t cover the actual issue that I have. I have a widget with a button (see first post) (this is in a different blueprint then the one with the spawner). This is where my issue lies. In your video you use the ‘N’ key but the script is in the same blueprint. My issue is accessing that second blueprint. I can’t figure out how to reference another blueprint.
Anytime you want to modify an actor/class/object you should have the actor/class/object make the change to itself. Basically all the logic (set velocity, material etc) should be in the things class. You just call an event to execute said logic. Semantics, yeah yeah whatever. Just good practice over all.