NVIDIAGameWorks / FleX

Other
646 stars 99 forks source link

Why do shapes change scale when I rotate them? #116

Closed tobiasebsen closed 3 years ago

tobiasebsen commented 3 years ago

I'm having issues rotating collision shapes with FleX.

It seems that when I rotate shapes (i've tried box and capsule), they change scale.

Is it me who is using the NvFlexSetShapes function wrong? Or is the quaternion defined as something else than axis x,y,z, angle ?

Please help me out!

tobiasebsen commented 3 years ago

Nevermind. Found the answer.