need help with rotation toward an actor..
POM
Member Posts: 2,599
hey guys i need some help,
i want actor 1 ("arrow" - - movable) rotate toward actor 2 ("target" - - NOT movable) no matter where it is on the screen..
so that the front of the arrow always points the target, im trying to use vector to angel and
rotate to angle behavior but no success so far ;\
hope you can help me
i want actor 1 ("arrow" - - movable) rotate toward actor 2 ("target" - - NOT movable) no matter where it is on the screen..
so that the front of the arrow always points the target, im trying to use vector to angel and
rotate to angle behavior but no success so far ;\
hope you can help me
Comments
im trying to figure out how to rotate the chase actor to point those values
Set the GAME attributes for the target's X and Y position in that behavior relative to scene.
Then set your desired speed or rotation...try about 150.
That should do it.
EXTRA TIP:
You can use the Accelerate behavior in the same way to have the actor "chase" the target.
i mean my actor does rotate to target! but only 1 time,
my "chaser" is moving (constrain to mouse positions) and i want the rotation to change toward the "target" actor at all time, but it does it only once