YouDoNotKnowMyName Posted April 26, 2021 Share Posted April 26, 2021 Good evening everybody! I already looked on the CK wiki but didn't find anything like GetRotationZ, just GetPositionZ. (To get the rotation on the Z axis) Is there any function like that that would return the rotation value (on a specified axis, like X, Y or Z) for a given reference?So something like GetRotationX(), GetRotationY(), GetRotationZ().(Specifically the rotation of one of those "RotateHelperFree" activator - things. (I need this to get the current rotation value of a reference, increse it by 90° and then make the object slowly rotate to the new position) Link to comment Share on other sites More sharing options...
LarannKiar Posted April 26, 2021 Share Posted April 26, 2021 (edited) I usually use this: float Angle = Self.GetAngleZ() Edited April 26, 2021 by LarannKiar Link to comment Share on other sites More sharing options...
YouDoNotKnowMyName Posted April 26, 2021 Author Share Posted April 26, 2021 I usually use this: float Angle = Self.GetAngleZ() Ahhh ...I was looking for GetRotation, so no wonder I did not find anything! Technically "angle" is the wrong term for this, so that's why I didn't bother serching for that word specifically. But thanks, this really helped me! Link to comment Share on other sites More sharing options...
Recommended Posts