Collision shape for sphere primitive does not match dimensions


#1

If you change the dimensions of a sphere primitive the collision shape does not change along with it.


#2

Sounds like you hit my problem from the past. https://worklist.net/20693


#3

Yeah except these are primitives you add with edit.js.


#4

And worse, there is no ‘regenerate physics shape’ button, command, thing.


#5

We only support sphere collision shapes, even for ellipsoids… Basically ellipsoids are a much more complex physics shapes, the types of simple formulas for collisions that are possible with a sphere are not possible with a generalize ellipsoid.

If you really need an object that is an ellipsoid, you can make a convex hull mesh in your favorite mesh editing tool, and use that mode for collision shape.


#6

It’s not that hard: http://www.gamedev.net/page/resources/_/technical/game-programming/general-collision-detection-for-games-using-ell-r1026

scroll down to ellipsoids.