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
Type:string, default “”, (never None)
target

Target Object

Type:Object
use_rotation

Use the target’s rotation to determine floor

Type:boolean, default False
use_sticky

Immobilize object while constrained

Type:boolean, default False

Inherited Properties

Inherited Functions