unity3d - Can effectors apply different effect to different objects? -
i'm making first 2d game using unity , wonder how 2d area effectors apply different effect different objects. specific, i'm implementing magnetic forces. when negative charge passes field (aka. 2d area effector), force applied should reverse when positive charge passes field. 2d area effector, apply same (absorbing) force both negative charge , positive charge. however, that's not want. body has solution this? thanks!
you need 2 diffrent area effectors attached 1 gameobject. each effector has diffrent collidermask dependings on layer, should affect.
Comments
Post a Comment