Creating a human figure and skeleton in C# Script as a way to learn about Unity...

…and wanted to create an articulated figure out of capsule primitives as a scripting exercise and immediately found that I can’t specify the size of created primitives - but that you can scale them.

The problem with this is when you parent them of course - to scale them to the size you wanted you’d have to be inverting accumulated parent scales from their transforms (which seems incredibly hacky.)

Am I missing something simple with CreatePrimitive? Is there some other way to specify the length/dimensions of the primitives? It seems pretty incredible that you can’t…

CreatePrimitive does exactly that. You are looking for transform.LocalScale. Primitives are generally created as 1x1x1 (with the exception of a capsule created as 1x1x2)