issues Search Results · repo:phaserjs/phaser-box2d language:JavaScript
Filter by
12 results
(93 ms)12 results
inphaserjs/phaser-box2d (press backspace or delete to remove)Hi,
tl;dr I believe there should be @types/phaser-box2d package?
So, I m playing with phaser-box2d with non-phaser project. As for most my recent projects, I m using TypeScript (with
vite template). ...
ajur
- 1
- Opened 6 days ago
- #30
So I m trying to do a wrapper to Babylon JS and I ve got things working, but for some reason I can not get dynamic
bodies to rotate?
I know the flags are there to prevent rotation but none of them are ...
Pryme8
- 1
- Opened on Mar 19
- #26
Within the WorldStep function, there is a while loop which repeats until (among other conditions) the total amount of
time spent simulating the world during this call exceeds the fixed time step allowance. ...
mikuso
- Opened on Feb 11
- #20
The WorldStep helper function appears to use a variable _accumulator to store the amount of unused time after performing
a variable number of timesteps. However, this accumulated time value is shared across ...
mikuso
- Opened on Feb 11
- #19
I ve found out, that function SpriteToCircle is not working. It does not set any radius, so the solution may be to set
radius instead of size in props
function SpriteToCircle(worldId, sprite, data) { ...
milestorm
- Opened on Feb 3
- #16
The CreatePolygonFromVertices function creates the body object, but does not return it.
https://github.com/phaserjs/phaser-box2d/blob/f5f0681442061b8ecbdea54562218e5466633927/src/physics.js#L1068 . There ...
Vykri
- 6
- Opened on Jan 15
- #15
For example, I see this assert in the box2d codebase:
https://github.com/erincatto/box2d/blob/f377034920c42a26cd498c0a0b1b2e9f2b064989/src/bitset.c#L50
but not in the phaser-box2d port:
https://github.com/phaserjs/phaser-box2d/blob/91e1a3c90061b76350ca3fd0ea7d3859017fe220/src/bitset_c.js#L64 ...
mreinstein
- 1
- Opened on Jan 8
- #10
In the interests of tracking all changes to the upstream box2d repo, it would be helpful to have a pointer to the last
commit that phaser-box2d looked at. That way there s a clear list of commits that ...
mreinstein
- 5
- Opened on Jan 7
- #8
I would expect this to work:
import * as Box2D from phaser-box2d
// do stuff with Box2D here, e.g.,
Box2D.b2CreateWorldArray()
const worldDef = Box2D.b2DefaultWorldDef()
This fails. Looking at package.json ...
mreinstein
- 2
- Opened on Jan 6
- #6
see https://github.com/erincatto/box2d/blob/f377034920c42a26cd498c0a0b1b2e9f2b064989/include/box2d/box2d.h#L676
The commit that added it: https://github.com/erincatto/box2d/commit/df7373c08a41b7a4ba6edd5d4be200675a948176 ...
mreinstein
- 12
- Opened on Jan 6
- #5

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.