Skip to content

Is it possible to change a center of mass in MatterJS? #6442

Closed Answered by photonstorm
ProgrammingLife asked this question in Q&A
Discussion options

You must be logged in to vote

this.matter.body.setCentre(body, centre, relative) (see Matter docs for details).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ProgrammingLife
Comment options

@ProgrammingLife
Comment options

@likeavenus
Comment options

Answer selected by ProgrammingLife
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants