Hi!
I have a 2d platformer project and i want my player sprite can stand on top of a 2d physics box sprite. My player has only physics behavior and the box sprite has Drag and drop (this is needed for my project) and physics behavior.
How can i do?
It's not recommended to mix physics with other behaviors (Platform, Drag&Drop, Pin, Bullet etc.) in the same object. It's very difficult to make them work together correctly.
You can use a different invisible sprite with Drag&Drop, and move the physics box to its position, see this example:
dropbox.com/s/65wlg7mxfbg2y8s/PhysicsBasket4.capx
Develop games in your browser. Powerful, performant & highly capable.
Thanks so much my friend!
I have inspired from your example project and I created an invisible physics sprite around my platformer character. Everything is okay now :)