There is no web-swinging in Ben 10: Vilgax Attacks (PS2/Wii/PSP/NDS). Ben cannot shoot webs. That's Spider-Man.
Play Spider-Man 2 (2004). Physics-based swinging system is still the gold standard. Backward compatible on PS3 (Fat BC models) / PCSX2 / PS4/PS5 via Spider-Man 2 (PS2 Classics on PS Store? No — but Spider-Man PS4/PS5 exists).