urho icon indicating copy to clipboard operation
urho copied to clipboard

Async rotation

Open Zamir7 opened this issue 6 years ago • 4 comments

Node.LookAt turn too fast in OnUpdate, how rotation Node with RunActionsAsync? new RotateTo - work? strange(

Zamir7 avatar Feb 24 '19 10:02 Zamir7

You could write your own custom action to do a look-at rotation.

Assuming you're calling Node.LookAt the c++ implementation is here.

Line 666 ... should be enough info to let you write your own custom action.

utekai avatar Feb 26 '19 22:02 utekai

Its, yes, I thought in RunActionsAsync there is already a implementation like RotateTo

Zamir7 avatar Feb 27 '19 08:02 Zamir7

Agree that rotateto doesn't work as expected.

Code here.

You might want to review changes to that file to investigate the root source of the bug. For instance, this change.

Based on the author's responsiveness here, unless you fix it yourself, or write code to do it yourself, you may have to wait some long, long time otherwise. I did check the author's page, and he has 666 contributions this year., and recently has been working with json parsers.

Signs of the times.

utekai avatar Feb 27 '19 15:02 utekai

Line 666 ... s he has 666 contributions I do not even know what to say)

Zamir7 avatar Feb 28 '19 15:02 Zamir7