Hi everyone,
I’ve been trying for a while now to add a pull feature to my project. I need several fixed stars which attract my character. So I looked in matter, which has this functionality. But my project was totally designed for
arcade physics, and although arcade and matter can be used at the same time, it can’t be done! Could someone help me?
I leave you my github with my project. Don’t pay attention to the many comments they are not from me Im a student. btw i’m french
Go check:
mais.js
TiledPlatformer/src/ scenes / (line 49)
or in structure folder
Thank you very much ! indeed I was able to put a matter object! (github is update, and btw this morning I tried to send you a private message haha) I tried to put an object of an example of attraction there (Phaser 3 Examples) to test.
But I just realized, if I want my player to be attracted to this object, does my player also have to be a matter object?
I don’t really know about the physics matter, does that require a lot of change? (src / object / player2.js)
Hello,
I still have a few questions about matter and arcade, but I don’t think creating a topic here for each of my questions is the best idea, is it possible to speak privately (or here) for help me ? Thank you