zxxz Posted March 16, 2014 Share Posted March 16, 2014 Hey I have a feature where a sprites velocity becomes the velocity of a moving platform when landing on it which worked fine. I have now however tweaked some of the controls including the drag.x and now when riding the platform the sprite slips off? I have also tried to change the drag to 0 when the sprite is on the platform but I get he same thing happen? Not sure of there is a way to essentially turn drag off or to whatever it is initially? Thanks Link to comment Share on other sites More sharing options...
rich Posted March 16, 2014 Share Posted March 16, 2014 The default for arcade physics drag is zero on both x and y. But if you've tweaked it then record the value in a temporary point object when you collide with the platform, then restore it when you leave. Link to comment Share on other sites More sharing options...
Recommended Posts