My object can have any(unknown) rotation in the world.
I need to interpolate this object's local UP-axis, towards the World's UP-axis, without touching the object's other local rotations (imagine a buoy righting itself after a wave-hit).
But, I only manage to interpolate all the object's axis' towards all the World's axis' at the same time, effectively aligning my object to the World, like a hard drilled North Korean parade soldier.
I'm using this code to accomplish my failure:
var TopQuat:Quat = Quat(0,0,0,1)
transform.basis = Basis(Quat(transform.basis).slerp(TopQuat,delta))
Any hints for isolating this interpolation to my object's local UP-axis?