Hi all,
I am attempting to create a blueprint script that will rotate a sphere around a point in any direction so that it’s rotation follows the motion controller that controls the rotation.
Here’s what I have, but what I’m seeing so far is that the sphere rotates wildly when set planet rotation first starts firing. It smooths out somewhat if the controller is moved to an arbitrary location away from the start point, but is still unpredictable. This event is being fired on tick, as long as a grip button on the controller is being held down. When the button is released, we reset StartCtrlPosition and no longer fire SetPlanetRotation until the button is pressed again.