Jump to content

How do I stop velocity cancelling when 2 object contacts?


catccaatt
 Share

Recommended Posts

Recently I was trying to learn a horizontal infinite running game. I set my player speed 20 at x direction, and I also set the ground speed -20 at x direction, then whenever my player fall to the ground, the player stops moving and the ground still moving at -20. What I want is the player also still moves at 20.

 

How do I make the two speed not canceling each other? like zero friction?

 

Thanks

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...