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 [0, 100], default 0.0
subtarget
Type :string, default “”
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

Previous topic

FloatProperty(Property)

Next topic

FluidFluidSettings(FluidSettings)