|Topic was automatically imported from the old Question2Answer platform.
I have a 3d scene with a cannon in it that shoots a rigid body projectile. Once the projectile hits the ground, I want to measure the distance between the cannon (which is a static body) and the projectile (which is a rigid body), and pass the value into a variable.
I’ve read about a
distance_to method in 2d. Is there something similar in 3d?