How to make a rectangle slide along Curve Edge

Topics: Developer Forum, User Forum
Nov 25, 2011 at 8:10 AM

Hi everyone,

I want to make an edge which has curves as in the "EdgeShapes" Testbed. In my game, there is a rectangle body sliding on that edge, I use the ApplyForce method to move that rectangle; however, every time the rectangle slides over bumps, it takes off. Is there anyway I can make it slide along that curve edge?

Thanks in advance