GameObjectSetHitboxToCapsule(CapsuleHitboxType) Methode

Ersetzt alle Hitboxen mit der für Spielfiguren gängigen Kapselform

Definition

Namensraum: KWEngine3.GameObjects
Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.7.3+f07b5927a6865945f32f848bdf50a2c2724c3fb9
C#
public void SetHitboxToCapsule(
	CapsuleHitboxType type = CapsuleHitboxType.Default
)

Parameter

type  CapsuleHitboxType  (Optional)
Variation der Kapsel (CapsuleHitboxType.Default oder CapsuleHitboxType.Sloped)

Anmerkungen

Achtung: Setzt die Skalierung der Instanz zurück!

Siehe auch