Problems with the segmented path

26 views
Skip to first unread message

Роман Волков

unread,
May 30, 2017, 5:01:07 AM5/30/17
to Nape Physics
I have a problem. I create a path from several bodies, and when an object moves along it, it sometimes bounces off.
Looks like that:
















Как можно решить эту проблему?

Роман Волков

unread,
Jun 2, 2017, 8:37:43 AM6/2/17
to Nape Physics
Please, help! How to make the ball move in a straight line, without bouncing?

T1m_

unread,
Aug 23, 2017, 7:38:07 AM8/23/17
to Nape Physics
1. The best you could do is to use straight line, non segments.
2. Another problem might be if your ball is not a ball - in Nape's term not a Circle shape, but Polygon with many edges). Such bodies will be bouncing even on a straight floor.
3. Also you can try to listen interaction with vertices and cancel collisions and do some tweaks (you will need a lot of attempts to get satisfied with this approach ;) )
4. You can disable rotation and move the ball linearly. There still can be issues with sticking on vertices, so again you can try to cancel that collisions.
5. Set ball body type to KINEMATIC and move it by its velocity property.
Reply all
Reply to author
Forward
0 new messages