#Instantiated game object having weird behaviour when I want them to move towards player

1 messages · Page 1 of 1 (latest)

paper quiver
#

https://gyazo.com/6cc2cf36721dd5a705391e748eed654c

The drops from enemies are behaving weirdly when they're supposed to start moving towards the player position. I was going to try to run the debugger to figure it out on my own but I'm not sure how to set a proper break point for this, as my enemies are using the same follow script and it'll break as soon as the first enemies spawn. Pls lmk if there's a way to set a break point for a specific game object or something. Anyways, here's all of the code that should be interacting for this.

knotty steppe
#

You got a rigidbody on these items but you're using transform translation.

winter totem
paper quiver
#

Mb, should have included more info;
@knotty steppe They don't have a rb but the enemies that use the same MoveTowardsPlayerScript do.

& I am talking about the yellow triangles, what you're noticing @winter totem is only slightly off, they aren't always glitching out, they seem to only be moving when the player is moving

As a bit of an aside, is there something wrong w/ using transform.translate on a GO w/ a rigidbody? 😬

winter totem
jade zealotBOT
paper quiver
#

I appreciate you taking a look

winter totem