FloorConstraint(Constraint)
base classes — bpy_struct, Constraint
- class bpy.types.FloorConstraint(Constraint)
Use the target object for location limitation
- floor_location
Location of target that object will not pass through (default
'FLOOR_X')- Type:
Literal[‘FLOOR_X’, ‘FLOOR_Y’, ‘FLOOR_Z’, ‘FLOOR_NEGATIVE_X’, ‘FLOOR_NEGATIVE_Y’, ‘FLOOR_NEGATIVE_Z’]
- offset
Offset of floor from object origin (in [-inf, inf], default 0.0)
- Type:
float
- subtarget
Armature bone, mesh or lattice vertex group, … (default “”, never None)
- Type:
str
- use_rotation
Use the target’s rotation to determine floor (default False)
- Type:
bool
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type