|
In trying to make a very simple Geometry Wars clone in between 'good'/original ideas, I wanted to make enemies tilt towards their direction of travel. Turns out making 3D things rotate in 3D, but move in 2D is hard :V SharpenedSpoonv2 fucked around with this message at 05:30 on May 22, 2014 |
# ¿ May 22, 2014 05:27 |
|
|
# ¿ Apr 28, 2024 14:18 |
|
Jewel posted:If you didn't work it out yet, I'm thinking this comes from translation then rotation. Try rotation then translation. You'll be rotating around the origin, so if you translate first the origin is far away, leading to the orbiting effect! Thanks - I had fixed it right after taking those gifs. It was actually due to (mis)use of built in Unity utility functions for LookAt, as well as applying rotation to the wrong parent or child object. For the record, I did get it eventually!
|
# ¿ May 23, 2014 04:36 |
|
poemdexter posted:If you add sprites to an existing atlas, unity doesn't give a flying gently caress about your animations and will start throwing random sprites all over the loving place.
|
# ¿ Jul 30, 2014 17:06 |