Skip to content

Add a Box2d (v2/v3) physics scripting example #165

Description

@JCash

The Lua b2d api is now feature complete.

Ticket defold/defold#12216 has an example project with a (very small) set of scripting examples of how to spawn an object, and attach new fixtures/shapes, and add forces/velocity.

Final PR for Joint support: defold/defold#12351
I created a very small example setup for joints, which supports Box2D v2 and v3:
https://github.com/JCash/example-box2d

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

Priority

None yet

Size

None yet

Score

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions