Hi
I was checking this tutorial about area effector
https://unity3d.com/learn/tutorials/modules/beginner/5-tutorials/area-effector-2d?playlist=17093
I wanted to try it first like in the tutorial to change the player’s direction, and it worked
Then, I applied this area effector to a moving object, and when the player collide with it… no effects, except if the area-object stopped moving, then, the effect works immediately.
Does that mean Area Effectors are just for non moving area ?
Should I use instead a script applying new force when the Area/Object collide with the player instead ?
Thx a lot.
It makes no difference if it’s moving or not. Presumably the effector colldiers are attached to a rigid-body and are not static (which you’re not supposed to move at runtime).
Thx @MelvMay .
I’m not sure I understand well you answer:
“the effector colldiers are attached to a rigid-body and are not static (which you’re not supposed to move at runtime).”
so
My _effector colldier (_an Area Effector) is attached to rigid-body (with “is Trigger” and "Used by effector) checked) and is not static (this object is moved to go towards the player)… so what do you mean by (which you’re not supposed to move at runtime) ?
Thx
In that case, it should work. How are you moving the Rigidbody2D position and what version of Unity are you using?
If you could create a simple reproduction case and submit a bug report then I would be happy to take a look at it if you provide me with the case number.