Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2751

Using physicsBody with setPositionOffset causes flashing and jerking when the character moves

$
0
0
  • When I added physicsBody, my character was skewed, so I used setPositionOffset for physicsBody to match the animation, but when I added the character runAction move, it flashed and jerked.
  • The one with 18 gold and 75 gold had its physics box misaligned, so I used setPositionOffset for its physics, so when it moved it jerked.
    -I don’t use setPositionOffset for other characters so it’s okay

Video Demo

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 2751

Trending Articles