setLocalScaling

Adversus
Posts: 19
Joined: Mon Nov 10, 2008 11:24 am

setLocalScaling

Post by Adversus »

If I do setLocalScaling(btVector3(0.0f,0.0f,0.0f)) in one frame and then set it to setLocalScaling(btVector3(1.0f,1.0f,1.0f)) the next it doesn't work.

It's almost like it gets the 0.0f value and optimises it out and then never puts it back.

btw - I'm using Capsule collision.

Cheers,
John.
pico
Posts: 229
Joined: Sun Sep 30, 2007 7:58 am

Re: setLocalScaling

Post by pico »

Hi,

i change local scaling each frame for kinematic bodies and it works fine. Can't tell about non-kinematic ones.