action - Cocos2d JS 3.7 Physics Sprite move -


i'm trying move physics sprite in cocos2d js 3.7(using chipmunk) using moving action won't work, manually set position , still wont work. physics sprite in cocos2d js 3.7 allow setposition function? or wrong.

are trying move sprite or it's attached physics body?

note when dealing physicsprites can't change it's coordinates , rotation. instead should dealing ps.body.p. p has x , y properties should deal with.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -