Skip to content

Physics3D disable an rigidbody temporary #871

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

You must be logged in to vote

I did search document and tried setActive() but it does not work.

component->setEnable(false) works well. but u cannot call setEnable at the time u created the component otherwise null pointer exception will be thrown.

Thanks.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cchuicchui
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