Quantcast
Channel: Questions in topic: "not moving"
Viewing all articles
Browse latest Browse all 11

Trigger Collider Getting Left Behind Object

$
0
0
I have a GameObject that gets moved around with rigidbody2D. This object has a small box collider on it. It has a child with a CircleCollider2D set to trigger that detects other objects nearby. When the main object moves, the child moves with it, however the circle collider does not. Any idea what can lead to behavior like such as this? To restate, the circle collider trigger does not move but the object of which it is a component does. How can this happen?

Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>