#Auto aim turret

15 messages · Page 1 of 1 (latest)

median plank
#

I'm trying to make an auto aim turret that shoots periodically to the player a bullet that goes to a constant speed and that disappear after colliding with objects. I can't figure out how to make the bullet go in the same direction forever after being shot until it collides with something.

rough meteor
#

idk might not make sense

median plank
#

wait i did something

#

the red circle follows the player until the spawn triggers is activated, the spawn trigger spawns the 2 moves triggers which make the spike move +1 endlessly towards the circle and the circle moves -1 towards the spike, so they both moves until i collides with a collision block that reset the turret.

For resetting after the collision i tried using a move trigger with target mode that teleports the bullet to the turret and a resume for the advanced follow.

I would like to make the bullet rotate properly towards the red circle but i cant figure out, also i would like not to use a collision block for every block but it seems to have a terrible hitbox when scaled

rough meteor
#

ah u meant that kinda autoaim

median plank
#

I'm sorry, I thought I was clearer

rough meteor
#

na mb

median plank
#

u have any suggestion for the collision blocks?

#

cuz i dont understand their hitbox when scaled

rough meteor
#

if the hitboxes mess up when scaled just keep them in every block

#

less bugs better than optimizing

median plank
#

yea maybe u right

quaint ledge