Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 73183

Relating to the motion of objects through space and time. Including concepts such as acceleration (thrust and gravity), mass, collision response, friction and more.

3 votes
1 answer
159 views

Collision happens even though the objects are not colliding according to what we see

I'm trying to build a pool game as my first phaser project. The biggest challenge today was to make the cue rotate around the white ball. After hours of searching and not finding anything useful (the …
max's user avatar
  • 145
5 votes
1 answer
3k views

Switching from Arcade to P2 physics in Phaser

But since I'm making a pool game I need rotation on collision so I've switched to P2 for physics. Suddenly everything moves and collides! … the live code: http://199.26.84.223/ I have 2 groups: sides (sides of table) balls Point 1: I want sides to be immovable so I've added: side.body.immovable = true; to each object just as with Arcade physics
max's user avatar
  • 145
6 votes
4 answers
2k views

Rotating sprite around another sprite

I am building a pool game, and I want to make the cue rotate around the white ball. Here is the live code: http://199.26.84.223/nocol.html Here is the code for the white ball: balls = game.add.gro …
max's user avatar
  • 145