Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Get the difference (A – B) between two Vector2
Parameters:
- x
- A float value
- y
- A float value
- x2
- A float value
- y2
- A float value
returns a String (text) value
Example:
1 | obj.diffVector2(x, y, x2, y2) |