Closed KWHMarco closed 3 years ago
Going to rebase lemming to master, then add the mouse control, and remove the player character, as per the mouse branch first. Then replacing the player as goal with On Hit event. This currently reacts to all hit events, such as landing on the ground after a fall or jump. You will notice that I have changed the variable name to goRight and replaced the player goal stuff. You will need to edit/extend this code. Revisions on lemming branch
This tutorial might help with menu mouse control shifting to loaded levels: https://www.youtube.com/watch?v=Qspi31qtvpw
@DoctorMikeReddy There is a problem,the lemmings flip sides when they touch the platform
Is this your graphics? If so, you need to make sure they are double sided; i.e. the texture applied to the surface works on both sides of the poly that it is stuck to. Normally, graphics - like a chocolate wrapper - only show on the “outside” and not on the in side
If it is the landing changing direction I DID say that you will need to extend the onHit code in the blueprint to determine what the lemming has collided with. That’s for you guys to do
oh ok thanks
Does that mean I will need to edit the"On Component Hit"part?
I did check this video https://www.youtube.com/watch?v=q2enLa6T5qU but I still have no clue on how to change it
@DoctorMikeReddy So I wanted to make the lemmings to start going into opposite directions when they bump into an object or lemmings