RAGOpoR
RAGOpoR

Reputation: 8168

A problem when using PageTransitionForward and Backward

http://www.youtube.com/watch?v=DyssOSmwuoo

according to my video

when call animation PageTransitionForward it will have a triangle on the left and that triangle can see through next layer

how can i fix it?

Upvotes: 0

Views: 107

Answers (1)

lechec
lechec

Reputation: 839

It happens because of limitation of depth buffer (search about z-fighting for more info).

To fix it just find CCPageTurn3DAction.m file and in (void)update:(ccTime) method change z coordinate of all vertices of the animated grid to some higher value (e.g. 0.5).

Upvotes: 1

Related Questions