Skip to main content
Skip to main content

calcDistanceSquaredFrom

calcDistanceSquaredFrom

Description

Calculate squared distance between two transforms

Definition

calcDistanceSquaredFrom(entityId transformOne, entityId transformTwo)

Arguments

entityIdtransformOnetransformId of first node
entityIdtransformTwotransformId of second node

Return Values

floatsquaredDistancesquared distance between the two nodes