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

Type:

enum in [‘FLOOR_X’, ‘FLOOR_Y’, ‘FLOOR_Z’, ‘FLOOR_NEGATIVE_X’, ‘FLOOR_NEGATIVE_Y’, ‘FLOOR_NEGATIVE_Z’], default ‘FLOOR_X’

offset

Offset of floor from object origin

Type:

float in [-inf, inf], default 0.0

subtarget

Armature bone, mesh or lattice vertex group, …

Type:

string, default “”, (never None)

target

Target object

Type:

Object

use_rotation

Use the target’s rotation to determine floor

Type:

boolean, default False

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions