Menu
Lumberyard
User Guide (Version 1.13)

EBus Request Bus Interface

Use the following request functions with the EBus interface to communicate with other components of your game. For more information about using the event bus (EBus) interface, see Working with the Event Bus (EBus) System.

SetConstraintEntities

Sets which entities are affected by this constraint.

Parameters

AZ::EntityId owningEntity – The entity that owns the constraint (constrained entity).

AZ::EntityId targetEntity – The target entity. If the target type is world space, this can be Invalid EntityId.

Return

None

Scriptable

Yes

SetConstraintEntitiesWithPartIds

Sets which entities are affected by this constraint and which of their bones are constrained.

Parameters

AZ::EntityId owningEntity – The entity that owns the constraint (constrained entity).

int ownerPartID – Constraint owner's part ID of the bone to constrain to.

AZ::EntityId targetEntity – The target entity. If the target type is world space, this can be Invalid EntityId.

int targetPartId – The constraint target's part ID of the bone to constrain to.

Return

None

Scriptable

Yes

EnableConstraint

Enables all constraints on this entity.

Parameters

None

Return

None

Scriptable

Yes

DisableConstraint

Disables all constraints on this entity.

Parameters

None

Return

None

Scriptable

Yes