Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

How to stop colliders from moving with camera?


Recommended Posts

Noob Question concerning colliders.

  • I’m setting the bg position with an offset to the pointer.y value.
  • I’m using this.camera.main.startFollow(bg, true, 0.05, 0.05) to handle camera scrolling based on the bg position.

I have a sprite set not to scroll - and it’s collider still scrolls.

This is what I would like to happen :

Are colliders dependent on the camera?
If so, how do I fix the collider to the object to prevent it from scrolling with the camera?

Thanks in advance.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...