File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Plugins/TurboLibrary/Editors/MapEditor/CubePath Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,16 @@ public ReturnPointPickable(RenderablePathPoint point)
288288 var translation = ParentPoint . Transform . Position + Transform . Position ;
289289 Transform . SetCustomOrigin ( translation ) ;
290290
291+ ParentPoint . Transform . CustomRotationActionCallback += ( sender , e ) =>
292+ {
293+ var arguments = ( GLTransform . CustomRotationArgs ) sender ;
294+ ParentPoint . Transform . Rotation = arguments . Rotation ;
295+
296+ // Apply to return points
297+ this . Transform . Rotation = arguments . Rotation ;
298+ this . Transform . UpdateMatrix ( true ) ;
299+ } ;
300+
291301 Transform . EnableCollisionDrop = false ;
292302 Transform . IndividualPivot = true ;
293303 Transform . CustomScaleActionCallback += ( sender , e ) =>
You can’t perform that action at this time.
0 commit comments