Axis and Direction Problem

Evren

New member
I have a ball that is moving back and forth on the x-axis. When the character passes by, I want the ball to apply a force to the character in the direction of the collision. However, sometimes it applies the force in the opposite direction. I am detecting the collision using Interaction. Can you provide a solution or suggestion for this?
Ekran Resmi 2023-08-17 13.18.12.png
 
Top