Jump to content

jason

Members
  • Posts

    2
  • Joined

  • Last visited

Contact Methods

  • Twitter
    jyanofski

jason's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hey thanks for the responses. i'm working through it but still having some problems. stefan, your example is written in p2, and it is not completely clear to me how to translate it to phaser. i'd be happy to learn p2 independently to ease this process, but i am not finding much independent p2 instructions, though the demos are quite cool. i would love to see an actual phaser example of a this effect working on a p2 sprite. thanks! jason
  2. here's a question that is driving me nuts. in phaser, it has a nice draggable option, for making sprites draggable by the mouse. however, if i enable the p2 physics engine on a sprite, then draggability no longer works. i dont know why. also, on the p2 page (independent of phaser), it has automatic draggability on all their really great demos. http://schteppe.github.io/p2.js/demos/ragdoll.html not only that, but it is actually better than just normal dragging. it ties in with the physics, because you can actually 'throw' objects with the mouse. in the source code on these examples, i can't see any reference to code that enables this. and i can't make it work at all within phaser. of note, i was able to do this with box2dweb via a 'mousejoint.'
×
×
  • Create New...