- Home /
Question by
Frieder_Mueller · May 05, 2018 at 04:09 PM ·
2dlookat2d rotation
How to define the "front" of an object?
I have a sprite that looks like a spear and i want it to point at the player (also a 2d sprite). But when i use the look at function it points at him like the spear is an 3d object. Can i somehow define the top of the spear as front or do i have to change my code? Please help me!
Comment
Your answer
Follow this Question
Related Questions
Looking at target in 2D 1 Answer
Problem with Quaternion.LookRotation() 1 Answer
rotate 2d circle on z axis ? 1 Answer
LookAt to control view angle stuck at 180 degrees rotation 1 Answer
Hand spinner script 1 Answer