angToPoint

Platform Compatibility PC Mac OSX Oculus Quest X X X Angle to point in radians, use obj.radToDeg() to convert into Euler rotation format. Parameters: x A float value y A float value x2 A float value y2 A float value returns a Float (decimal number) value Example: 1obj.angToPoint(x, y, x2, y2)

diffVector2

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: 1obj.diffVector2(x, y, x2, y2)

diffVector3

Platform Compatibility PC Mac OSX Oculus Quest X X X Get the difference (A – B) between two Vector3 Parameters: x A float value y A float value z A float value x2 A float value y2 A float value z2 A float value returns a String (text) value Example: 1obj.diffVector3(x, y, z, x2, y2, … Read more diffVector3

distVector2

Platform Compatibility PC Mac OSX Oculus Quest X X X Distance between two points in 2D Parameters: x A float value y A float value x2 A float value y2 A float value returns a Float (decimal number) value Example: 1obj.distVector2(x, y, x2, y2)

distVector3

Platform Compatibility PC Mac OSX Oculus Quest X X X Distance between two points in 3D Parameters: x A float value y A float value z A float value x2 A float value y2 A float value z2 A float value returns a Float (decimal number) value Example: 1obj.distVector3(x, y, z, x2, y2, z2)

resizeStored

Platform Compatibility PC Mac OSX Oculus Quest X X X Resize by amount for index Parameters: newScale A string value index An integer value Example: 1obj.resizeStored(newScale, index)

scaleStored

Platform Compatibility PC Mac OSX Oculus Quest X X X Set scale in index Parameters: newScale A string value index An integer value Example: 1obj.scaleStored(newScale, index)

rotateStored

Platform Compatibility PC Mac OSX Oculus Quest X X X Rotate by amount for obj in index, local or not Parameters: newRot A string value index An integer value isLocal Optional A boolean value Example: 1obj.rotateStored(newRot, index, isLocal)

orientStored

Platform Compatibility PC Mac OSX Oculus Quest X X X Rotate to orientation for obj in index, local or not Parameters: newRot A string value index An integer value isLocal Optional A boolean value Example: 1obj.orientStored(newRot, index, isLocal)

parentToTag

Platform Compatibility PC Mac OSX Oculus Quest X X X Attach this object to another object by tag without storing the other object, optional offset and ID comparison check Parameters: tag A string value offset (optional) A string value, defaults to 0,0,0 compareUID Optional An integer value Example: 1obj.parentToTag(tag, offset, compareUID)