Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New btConeshape member functions setHeight and setRadius #385

Merged
merged 1 commit into from Jun 9, 2016
Merged

New btConeshape member functions setHeight and setRadius #385

merged 1 commit into from Jun 9, 2016

Conversation

lordloki
Copy link
Contributor

These 2 new functions allow to modify the cone parameter after cone creation. It is useful when you use the cone as radar and you want to modify the raange or/and angle.

@erwincoumans
Copy link
Member

Seems fine. Just remember to remove the rigid body from the world before making those changes, and then re-insert it.

@erwincoumans erwincoumans merged commit a5fa871 into bulletphysics:master Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants