stfexp.collider.capsule

[ Schema | Category: Component ]

3d capsule collider component.

Implementations

Blender

STF_Component on bpy.types.Object or bpy.types.Bone

Godot

CollisionShape3D & CapsuleShape3D

Unity

CapsuleCollider or application specific components

Properties

type

required Constant: "stfexp.collider.capsule"

radius

required Type: number

height

required Type: number

offset_position

optional Type: array<number>

Default: [0, 0, 0]

The position (XYZ) offset relative to the node this component is placed on.

offset_rotation

optional Type: array<number>

Default: [0, 0, 0, 1]

The quaternion rotation (XYZW) offset relative to 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
	]
},