Forum rules - please read before posting.

Draggable object only moves collider instead of model

edited November 2021 in Technical Q&A

Hey all,

As the title suggests, I have an object in my scene (a file cabinet with 3 drawers) that doesn't quite work how I need. I am trying to make it so that I can drag the drawers open and closed (The drawers are each independent child objects of a File Cabinet parent object). I have a straight track set up with one of the drawers, but when I drag it it is only moving the box collider surrounding the drawer and not the actual drawer itself.

Any help is appreciated, thanks!

Comments

  • I take it the model is on the same object or a child of the collider.

    Check that the object isn't marked as Static in the top-right of its Inspector - if so, Unity will freeze its visual position. This helps speed up the game's update loop, but should only be checked for objects that don't move.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.