利用者:Sculptorjim/Game Engine/Physics/RadiusOption
< 利用者:Sculptorjim | Game Engine | Physics
- Radius - If you have the "Collision Bounds: Sphere" set explicitly (or implicitly through having the Collision Bounds subpanel unchecked), this will multiply with the Object's (unapplied) Scale. Note that none of the other bounds types are affected. Also note that in the 3D View the display will show this for all types, even though it is only actually used with Sphere.
- Range: 0.01-10.
- Default: 1.
- Python property:
obj.game.radius
- Demo: The table below describes the results visible in Manual-BGE-Physics_BoundsRadiusAndScale.blend.
Basic | Radius=1.5 | Unapplied Scale | Applied Scale | Collision Bounds |
---|---|---|---|---|
Rolls, radius of 1 BU | Rolls, radius of 1.5 BU (after "popping" upward) | Rolls, radius of 1.5 BU | Rolls, radius of 1 BU (!) | Default (which is Sphere) |
Slides, extent of 1 BU | Slides, extent of 1 BU | Slides, extent of 1.5 BU | Slides, extent of 1.5 BU | Box |
"" | "" | "" | "" | Convex Hull |
Slides, extent of 1 BU (but with more friction than above) | Slides, extent of 1 BU (but with more friction than above) | Acts insane | Slides, extent of 1.5 BU | Triangle Mesh |