mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
initialize capsule from_to field
This commit is contained in:
parent
0617f4f3cd
commit
6910fc9229
@ -1438,6 +1438,7 @@ B3_SHARED_API int b3CreateCollisionShapeAddCapsule(b3SharedMemoryCommandHandle c
|
||||
command->m_createUserShapeArgs.m_shapes[shapeIndex].m_collisionFlags = 0;
|
||||
command->m_createUserShapeArgs.m_shapes[shapeIndex].m_visualFlags = 0;
|
||||
command->m_createUserShapeArgs.m_shapes[shapeIndex].m_hasChildTransform = 0;
|
||||
command->m_createUserShapeArgs.m_shapes[shapeIndex].m_hasFromTo = 0;
|
||||
command->m_createUserShapeArgs.m_shapes[shapeIndex].m_capsuleRadius = radius;
|
||||
command->m_createUserShapeArgs.m_shapes[shapeIndex].m_capsuleHeight = height;
|
||||
command->m_createUserShapeArgs.m_numUserShapes++;
|
||||
|
Loading…
Reference in New Issue
Block a user