Джиттер на столкновении для 2 жестких тел
private float speed = 5f;
private RigidBody2D body;
private void Awake()
{
body = GetComponent<RigidBody2D>();
}
private void FixedUpdate()
{
MoveObject();
}
void MoveObject()
{
//write movement code here
body.movePosition(new Vector2(for x movement, for y movement));
}
Perfect Porcupine