You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
tristanbob
changed the title
Add "Distance between two positions" condition (similar to "Distance between two objects")
Add "Distance between positions" condition (similar to "Distance between objects")
Apr 7, 2022
tristanbob
changed the title
Add "Distance between positions" condition (similar to "Distance between objects")
Add "Distance between positions" and "Distance between object and position" condition
Apr 7, 2022
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
The text was updated successfully, but these errors were encountered: