Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

SpringBoneCollisionCapsule3D

继承: SpringBoneCollision3D < Node3D < Node < Object

SpringBoneSimulator3D 交互的胶囊形状碰撞体。

描述

SpringBoneSimulator3D 交互的胶囊形状碰撞体。

属性

float

height

0.5

bool

inside

false

float

radius

0.1


属性说明

float height = 0.5 🔗

  • void set_height(value: float)

  • float get_height()

胶囊体的高度。


bool inside = false 🔗

  • void set_inside(value: bool)

  • bool is_inside()

如果为 true,则碰撞会让关节困在碰撞中。


float radius = 0.1 🔗

  • void set_radius(value: float)

  • float get_radius()

胶囊体的半径。