Having a terrain and some mesh objects placed as STATIC I throw capsule like objects onto my world (for example agents my engine wants to navigate).
I need tham to bahaive as normal collidable objects yet I need tham not to rotate on one axis at all (for me it is Y
) so agents always are in a "standing" vertical position like so:
thay will be able jump and move... So I wonder how to make collisions affect rotation only on X and Z axes in Bullet?