Facing on dummy bots doesn't work?

So I like to play around with dummy bots every once in while, but one thing that really bothers me is that whenever I enter a vector for the bot to face, it simply doesn’t face there. It just faces in some random direction. The only way I can get it to face different directions is if I put either Up, Down, Left or Right. Vectors don’t seem to work and it’s really frustrating. Am I doing something wrong or is it bugged?

There is a difference between position vectors and direction vectors. If you want the bot to face a certain position, you have to give it the corresponding direction with direction towards(eye position(*bot*), *position to face*). (If I remember the math correctly, direction towards(v1, v2) is the same as subtract(v2, v1) - just as a sidenote :wink: )

5 Likes

Hey man thanks but Im still having some trouble, any chance you could either make a mode then send us the code or give an example? Thanks man

1E2Z9

Press Interact to spawn a dummy bot at the position you are looking at. In Player Variable A I save the position the event player is looking at, just to make it more readable. Because the important part is of course the dummy bot creation. As the facing I set direction towards(variable(A), position of(event player))
(direction towards(position of the dummy bot, position to face))

If I want to let the bot face the event player for example I use the direction from the eye position of the bot towards the eye position of the event player. However in this case I dont use the eye position of the dummy bot but the foot position. Thats why I let it face the foot position of the event player, because otherwise the bot would look to high up in the air.

1 Like

How do I make a bot look at me and track me?

Use Start Throttle In Direction, It pretty much likes how you use Start Facing.

1 Like

Apologies but I’m not sure I understand. However, I was able to get the bot to aim at me. Now I’m trying to get it to shoot at me right out the door. Suggestions?

Kinda like the widow 1v1 simulator, I want to have a widow battle.

Press Button or Start Hold Button.
Or you’re talking about only shoot when enemies in sight?

1 Like

Yeah I messed around with it a lot. My widow bot is pretty good.

But now I’m trying to figure out how to cancel the movement i insta toasted.

Like, I gave her a random movement but when she dies and relocated to a different part of the map, I wanted her to do a different movement pattern.