stfexp.collider.capsule¶
A capsule collider
Implementations¶
Blender |
STF_Component on bpy.types.Object or bpy.types.Bone |
|
Unity |
CapsuleCollider or application specific components |
Module |
Godot |
CollisionShape3D & CapsuleShape3D |
Properties¶
Key |
Required |
Type |
Description |
|---|---|---|---|
radius |
Yes |
float |
|
height |
Yes |
float |
|
offset_position |
No |
list[float][3] |
The position offset from the node this component is placed on. |
offset_rotation |
No |
list[float][3] |
The rotation offset from the node this component is placed on. |
Json Example¶
"ebde9045-5b00-44e8-8bcc-01ce02929234": {
"type": "stfexp.collider.capsule",
"name": "ColliderChest",
"radius": 0.10000000149011612,
"height": 0.44999998807907104,
"offset_position": [
0,
0.029999999329447746,
0.0020000000949949026
],
"offset_rotation": [
0.0523359514772892,
0,
0,
0.9986295104026794
]
},