my actor is slowing down

hi all im having an issue with my actor when im walking for a long period he starts slowing down and then comes to a complete standstill when i keep the right or left arrow key pressed down how do i sort this out please help thanks

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Can you please post a screenshot of the movement and key press code so we can see what you're doing and what might be wrong?
  • pheonix30pheonix30 Member Posts: 32
    how do i do that
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Take a screenshot and upload to a service like Dropbox or any cloud storage service you use and then in your post add some HTML code to show the image which looks like this:

    <!img src="http://yourimageurl">

    Don't include the exclamation mark when you do it though because otherwise it will show as text
  • pheonix30pheonix30 Member Posts: 32
    ok w ill do thanks
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Cool, hopefully someone will see the problem you're experiencing quite quickly by looking at the screenshots you provide.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    If you are moving your actor with a Change Behavior for its Velocity, you may want to try a Constrain Behavior instead. The Change Behavior can slow down over a long period of time. Also instead of the Constrain Behavior you might try reducing or making the Friction and Drag setting on each actor 0 so there is no friction to slow movement down.

    Just a couple thoughts....
  • pheonix30pheonix30 Member Posts: 32
    thanks man ill try that
  • pheonix30pheonix30 Member Posts: 32
    thanks jamie that worked for me im still learning all the ins and outs
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Glad it worked, just curious which option you went with?
  • pheonix30pheonix30 Member Posts: 32
    thanks again i changed the friction on all the relevant actors
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Cool, glad it worked and that I could help. Good luck with your project! :)
Sign In or Register to comment.