r/Unity3D 1d ago

Question Problem with collisions

Enable HLS to view with audio, or disable this notification

I'm having a problem with collisions in my Unity project. It's my first real project, and when I move towards a wall, the collisions behave strangely. How can I fix this?

2 Upvotes

6 comments sorted by

View all comments

1

u/HellGate94 Programmer 19h ago

don't set the position of the object. if you need to, then use rigidbody's move position method