Language:
Discover
By Skill Level
By Category

Find Roll Closest to World Location

Choose your OS:

Given a location, in world space, return the spline's roll closest to the location, in degrees.

Target is Spline Component

Find Roll Closest to World Location
Target
World Location
X0
Y 0
Z 0
Coordinate Space
Local
Return Value
0.0

Inputs

Target
Spline Component Object Reference
World Location
Vector (by ref)
Coordinate Space
ESplineCoordinateSpace Enum

Outputs

Return Value
Float