2D Side scroller enemy
So how would I go about making an enemy like a green turtle or something in Mario, one that walks from one spot, then turns around and walks to the other and keeps doing that, There dosen't seem to be any good tutorials on simple paper 2D enemies like that, Unless someone has one thanks!
asked Aug 14 '15 at 06:15 PM in Blueprint Scripting
In your Enemy BP, create an "EndPoint" Vector variable. Expose this variable and show the 3d widget.
Place your Enemy in the level, define his EndPoint by moving the widget around.
Then the easiest way to do it is to use an "InterptToMovement" component on your Actor and set it up in the construction script like so:
This is basic, the enemy will not jump or whatever, it will just move from point A (where it spawns) to point B (EndPoint).
answered Aug 15 '15 at 06:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here