Why rigidbody keeps reflecting the raycast? Am i doing something wrong?
I have been searching the web, unity community and unity answers for like 4 days straight and i have found ZERO articles regarding my problem. I have a spaceship with a mesh collider, that uses raycast for AI. The problem is that every time the raycast hits an asteroid with a rigidbody, the ship detects its own collider and repositions the target to its own position and starts to revolve around it for an infinity. I want the ship to relocate the target to the free space next to the asteroid. When i remove the rigidbody component it works perfectly but how can i do the physics part without a rigidbody? I know i might be doing something super noob but i cant supposedly find it :p but i did search alot and have found out that everyone else is using raycast on rigidbodies and are having no problems of this sort :( can anyone suggest a way how i should use rigidbody?