Method ConvertToCoordinates
ConvertToCoordinates(RideVector3)
Converts the world position into normalized coordinates
Declaration
RideVector3 ConvertToCoordinates(RideVector3 worldPos)
Parameters
Type | Name | Description |
---|---|---|
RideVector3 | worldPos | The global position in the scene |
Returns
Type | Description |
---|---|
RideVector3 | The normalized coordinates. If the worldPos is inside the world boundaries, then all values will be between 0 and 1 |