Change Height/Radius of Capsule Object when Loaded in world?
Posted: Wed Sep 17, 2014 7:43 pm
Hello,
I have hopefully a simple question: I have a btCapsuleShape collision shape setup I am using as a simple character controller and it works decently.
Now I need to be able to change the width and height of the shape live in the environment; I tried recreating the shape within the environment but then the orientation/position data is off and the btCapsuleShape is not exactly placed where the old object was.
Is there a simple way to just change the radius/height of the existing object?
Thanks.
I have hopefully a simple question: I have a btCapsuleShape collision shape setup I am using as a simple character controller and it works decently.
Now I need to be able to change the width and height of the shape live in the environment; I tried recreating the shape within the environment but then the orientation/position data is off and the btCapsuleShape is not exactly placed where the old object was.
Is there a simple way to just change the radius/height of the existing object?
Thanks.