Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17126

Non constant speed when move by a CardinalSpline

$
0
0

@skalexey2 wrote:

Hi all.
I want to move an object by a spline with a constant speed, but when I use cc.CardinalSplineTo I get the object accelerated on straight regions of the spline and slowed on curved regions. The object also slows at the end of the spline. I understand that this is a problem of cc.cardinalSplineAt function's algorithm, but maybe someone has encountered that problem and has some solution for this?

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17126

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>