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

(10663)

2D

(266)

Ads

(51)

AI & Navigation

(90)

Analytics

(118)

Animation

(376)

Asset Store

(283)

Asset Store Publisher

(3)

Assets

(514)

Audio

(173)

Cloud Build

(129)

Collaborate

(46)

Docs & Tutorials

(226)

Editor

(2341)

Everyplay

(13)

Game Performance Reporting

(17)

General

(1435)

Graphics

(840)

GUI

(409)

Input

(159)

Licensing

(86)

Networking

(180)

Physics

(371)

Platforms

(432)

Profiling & Optimization

(78)

Runtime

(176)

Scripting

(1119)

Terrain

(165)

WebGL

(140)