Search Feedback

51
votes

Scale with gameObject checkbox for colliders

Editor

-

-

Whenever a GameObject gets scaled, the collider also scales with it; This can cause problems like flickering for example. To prevent this problem you either have to save the collider dimensions or make a second object for every collider object (e.g. when using polygon collider).
It would be much easier if there is a checkbox in the collider menu where you can prevent the collider from scaling with its gameObject.

Comments (2)

  1. 1278443452e19b18aca96aa568deda84?d=mm

    IsaiahKelly

    Aug 19, 2017 17:24

    This is not unique to colliders. All child objects transform relative to their parent's position, rotation and scale. It's by design and I don't think a toggle is even possible. The best solution is to simply place whatever you want to scale in a child object and only scale that object, since this will not effect the parent or anything else that is not a child of the child.

  2. E55ca4caa370e02858d22628136f416a?d=mm

    Opfer703

    Jul 20, 2017 00:02

    was looking for this

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(9110)

2D

(224)

Ads

(40)

AI & Navigation

(68)

Analytics

(96)

Animation

(309)

Asset Store

(229)

Assets

(493)

Audio

(158)

Cloud Build

(95)

Collaborate

(32)

Docs & Tutorials

(198)

Editor

(2102)

Everyplay

(13)

Game Performance Reporting

(13)

General

(819)

Graphics

(768)

GUI

(365)

Input

(146)

Licensing

(75)

Networking

(158)

Physics

(343)

Platforms

(405)

Profiling & Optimization

(69)

Runtime

(162)

Scripting

(1022)

Terrain

(150)

WebGL

(131)