how to scale rigid bodies?? (newbie)

how to scale rigid bodies?? (newbie)

im using a rigid body with a hkpSimpleMeshShape

i dont know how to tell the rigid body that it has to scale all the vertex data ive passed with the shape

the closest i can get is with SetTransform(const hkTransform &transform), but the hkTransform does not support scale, just translation and rotation

there is also hkQsTransform which supports scale, but dont know how to pass this kind of transformation to my rigid body

any ideas??

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Hey a24710,

Have you tried using an hkpExtendedMeshShape instead and using the setScaling() method on that? Unfortunately hkpSimpleMeshShape doesn't have the same scaling functionality.

Thanks,
Daniel

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya