CastleSeven
New member
Collider is being resized differently depending on the scene. The only correlation I can find is that the more colliders that exist in a scene, the taller the capsule collider becomes. The height of the capsule collider is adjusted in a couple ways, but the only one that is reporting any changes is CapsuleColliderPositioner.UpdateRotationHeight() which I have check and is adding a negligible amount of height, so I don’t think that is the issue.
The biggest increase in height is seen after adding some “Callout Zones” which are trigger colliders that tells the player the name of a room/area that they enter. The scene can be absent of callout zones, and the player capsule collider will be properly sized. After adding the callout zones, the height of the player capsule collider will be way too tall. Also, the height of the capsule collider is inconsistent. I can load the same scene and get slightly varying results, none of which are ever close to the size of the capsule collider in the prefab.
The images above are in the same medium-sized scene before and after adding the callout zones. ‘h’ is the height of the capsule collider.
This image is from a small testing scene, without callout zones.
Continued below...
The biggest increase in height is seen after adding some “Callout Zones” which are trigger colliders that tells the player the name of a room/area that they enter. The scene can be absent of callout zones, and the player capsule collider will be properly sized. After adding the callout zones, the height of the player capsule collider will be way too tall. Also, the height of the capsule collider is inconsistent. I can load the same scene and get slightly varying results, none of which are ever close to the size of the capsule collider in the prefab.
The images above are in the same medium-sized scene before and after adding the callout zones. ‘h’ is the height of the capsule collider.
This image is from a small testing scene, without callout zones.
Continued below...