I hope that somebody can help me out here.
I am creating a 2D-style game in coblocks.
I want the UFOs to rotate while moving down, but when I try to do that, they change direction.
Can anyone help me with this, please?
(The UFO-script is on the third script-page.)
The problem here is in
As you can see, it uses direction relative to the current item transform. Therefore when you rotate the item,
forward is also changes. You can avoid this using
move to coblock, that accept vector in world coordinates.
Here remixed space with
move to coblock, please, take a look.
Love this, @Rasmus_Broe - can’t wait to see the final product!
Geoff @ TechLeap
Thank you very much, Ilya.
This was a little out of my league
I must learn to use this “return” fuction-thing.