Open
Description
Description
Users may want to check the distance between two positions or between an object and a position. This can currently be done by using the "Compare two numbers" condition and using the "DistanceBetweenPositions()" and "Object.DistanceToPosition()" expressions.
It's important for "Distance between object and position" to be a condition because the "Compare two numbers" condition does not perform object picking.
These tasks would be easier if these new conditions were provided by GDevelop.
Solution suggested
- Create a new "Distance between positions" condition that works similar to the existing condition "Distance between objects"
- Create a new "Distance between object and position" condition that performs object picking