-
Notifications
You must be signed in to change notification settings - Fork 94
World Interaction
#World Interaction
##Tutorials
###Depreciated
##Examples provided
1a. Physics Actor Pickup - This examples shows picking up Static Mesh Actors. Use the Grip Buttons to pickup and throw static meshes. To add your own simply add a mesh to the level and set it's simulate physics to be true.
1b. Door - This Example shows a swinging door
1c. Drawers - This examples shows an example of a simple set of drawers.
1d. Lever Pull - This example shows you how a lever object could be setup, grab the lever with the trigger and drag down to activate it.
1e. Slider - This example shows you how a slider object could be setup, slide the slider to the desired setting and push the button to activate.
1f. Cartridge - This example shows you how a cartridge object could be setup, Insert the cartridge into the slot to change the text.
1g. Whiteboard - This example shows you an interactive whiteboard using UE4 4.13 features
##Enums
- Feedback Intensity - contains the intensities for the custom feedback effects
- Feedback Type - contains the types that the Feedback Function Library will allow us to use
##Function Libraries
Feedback Function Library - Contains helper functions for playing feedback effects
Functions:
- Play Feedback On Hand - Given the hand Feedback Type and Feedback Intensity will play a specific feedback effect
Segment Function Library - Contains helper functions for playing feedback effects
Functions:
- Find Min Max - Finds and returns the minimum and maximum slider segment given a segment array
- Find Segment with Value - Given a slider segment array, value and threshold will find a segment with the value within the threshold
- Find Closest Segment - Finds the closest slider segment to the specific value
##Interfaces
World Interactive Interface - Contains the functions for interacting with an object in the world
Functions:
- OnHover - Called whenever the interactor is hovered over the implementing object.
- OnUnhover - Called whenever an interactor is unhovered over the previously hovered object.
- OnUsePressed - Called whenever an interactor has used the hovered object.
- OnUseReleased - Called whenever an interactor has used the hovered object.
- OnPickupPressed - Called when an interactor has pressed the pickup button.
- OnPickupReleased - Called when an interactor has released the pickup button.
- OnDrag - Called every tick when the interactor is dragging this object.
- OnDragStart - Called when an interactor starts a drag on this object.
- OnDragEnd - Called when an interactor ends dragging on this object.
##Structures
Segment Struct - Contains all the variables to define a Slider Segment.
Variables:
- Value - The value of the segment.
- Name - The name of the segment.
##Helper Objects