Interactable Prefab Constructor¶
Inherits from Generic Prefab Constructor. This constructor should be applied to any actor that will be interacted from the user and has physics properties.
Variable Name |
Type |
Description |
|---|---|---|
Prefab Interactable Type |
Generic, Insert, Remove, Remove with tool |
Select for what type of action this actor will be used. |
Prefab Detach Feature |
ReInitialize, Destroy, EventTriggerCurrLSAOnDestroy, Nothing |
Select what the prefab should do when the user throws it away. Reset the prefab, destroy it or destroy it and call the Event Manager to trigger the Action Completion. |
Wait for Drop Action |
float |
Set a time delay that the prefab detach feature action will be called after the user drops the interactable object. |
Actor Creation Requirements¶
A primitive component. This can be a skeletal mesh, a static mesh or a shape collider (box, capsule, etc..).
In the primitive’s component physics section
Simulate Physicsshould be enabledIn the primitive component collision section
Generate Overlap Eventsshould be enabled, as well asCollision Enabledshould be set toQuery OnlyorCollisionEnabledMagesInteractableItem component attached
Warning
If the mass of the primitive component is above 100kg the virtual hand will not be able to lift the object.