How do I make an actor home in on a component after throwing it?
I've spent a lot of time trying to set up a basketball that a player can pick up and shoot such that it homes to the basket. What I want to do is shoot the ball with a particular physics impulse, and then a couple seconds later turn on homing for my projectile movement component so the ball homes to the hoop.
Maybe I don't understand how projectile movement components work, but when add one to my basketball actor it changes nothing, even when I set homing acceleration to a ludicrous value (eg 999999). So far, the only way I can figure out to do this is to swap out my basketball actor that simulates physics with a projectile that does home in on the target, and this comes with its own set of problems (it doesn't spawn in the right place when I call getActorLocation...)
Would love some guidance!
Follow this question
Once you sign in you will be able to subscribe for any updates here