android-3D-model-viewer
android-3D-model-viewer copied to clipboard
Colission by Sphere - How to Increase Collision Size
How to Increase Collision Size and Collision Shape change Sqare or Circle Instead of triangle.
Dear @ManiAndroid There is only 1 triangle collision system implemented However, implementing an sphere colission system should be pretty straighforward
You can take a look to the Octree implementation.
I guess it may be fixed to instead of saving 3 vertices, it could save the center of the triangle and the radius
Then checking whether collision takes place would be just a matter of calculating the distance between that single vertex and the radius of the sphere.
I am flagging this issue as an enhancement
Kind regards