Skip to content

How to hide body during runtime. #1546

Closed Answered by jrouwe
benjaminleezhiyuan asked this question in Q&A
Discussion options

You must be logged in to vote

I would expect RemoveBody to completely remove it from the world. This should stop rendering it and you should certainly not collide with it. The locking body interface only needs to be used if you add/remove bodies/query from multiple threads.

Have you stepped into the code? It must early out somewhere (maybe the bodyID is invalid)?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@benjaminleezhiyuan
Comment options

@jrouwe
Comment options

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