monotonic Posted November 9, 2014 Share Posted November 9, 2014 Hi All, I have a door frame and door model that I'm creating a prefab from. Both the door and frame models are larger than required, so inside the editor I dragged both objects into my world and applied a scaling factor to them. Then I dragged the door into the frame group, this all worked fine. However, when I attached the swinging door script to the door and activate it in game, the door goes back to the original scaling factor. I can solve this by scaling the models and reimporting them, but is this a bug because surely it obey the scaling factor as seen the in the WYSIWYG editor? Quote Link to comment Share on other sites More sharing options...
monotonic Posted November 10, 2014 Author Share Posted November 10, 2014 Update: Another way of solving this is to parent both the door and frame models to a pivot instead of one another and this causes the door model to retain its scaling factor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.