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

(8933)

2D

(219)

Ads

(40)

AI & Navigation

(64)

Analytics

(90)

Animation

(295)

Asset Store

(217)

Assets

(487)

Audio

(156)

Cloud Build

(93)

Collaborate

(30)

Docs & Tutorials

(193)

Editor

(2063)

Everyplay

(13)

Game Performance Reporting

(12)

General

(804)

Graphics

(749)

GUI

(361)

Input

(143)

Licensing

(73)

Networking

(157)

Physics

(334)

Platforms

(401)

Profiling & Optimization

(68)

Runtime

(159)

Scripting

(1002)

Terrain

(151)

WebGL

(131)