I have a gameobject with a collisionobject. The collisionobject use a sphere as shape. Is it possible to access the diameter of the sphere in a script?
No, unfortunately not. As far as I know, what you see in the collision object documentation is all there is.
I’m doing calculations that are dependent on the diameter of the collisionobject. Oh well… thanks for replying!
You could use a script property (with go.property
) and set it in the editor for each object when you are making it if you don’t want to hard-code the diameter into your script.
1 Like
It should be now possible (starting from version 1.6.4)
4 Likes