IsoCapsuleCollider#

class in UltimateIsometricToolkit.Scripts.Physics / Inherits from IsoCollider

Description#

Capsule collider for isometric objects

Note

For characters it may be more suitable to use a capsule collider than a box collider to prevent jagged movements due to collisions with the ground

Variables#

Type Name Description
float Radius Capsule radius of this collider in x,z (may differ from IsoTransform size)
Vector3 Center Center point of the collider (default Vector3.zero)
float Height Height of the collider (default Vector3.zero)

Capsule size will therefore be Vector3(Radius,Radius,Height)