Replies: 3 comments
-
The idea is that most/all(?) of the operations are available through the body interface. This is done for locking purposes in a multi threaded environment. There is a way to obtain a body from a body ID which involves locking the body, that is indeed not exposed yet because it's not very compatible with how things work in JavaScript (can't put a variable on the stack). (again if you want to expose this then feel free to send me a PR) |
Beta Was this translation helpful? Give feedback.
-
In pure js , |
Beta Was this translation helpful? Give feedback.
-
For other users, this is available now under |
Beta Was this translation helpful? Give feedback.
-
When I want to access/operate a body by bodyInterface , I need use body.GetID()
Is there an easy to use body object directly ?
I found c++ version could , but there is no API to do that in wasm version.
Beta Was this translation helpful? Give feedback.
All reactions