-
Notifications
You must be signed in to change notification settings - Fork 94
Trace Interaction
#Trace Interaction
##Tutorials
###Depreciated
###Current
##Examples provided
1a. Basic Trace Interaction - This demonstrates basic object interaction with the trace interface. The blocks will colour themselves depending on the interaction method and the arrow will point in the direction of the hit.
1b. Basic 3D Menu - This 3D menu demonstrates how a UMG widget can be interacted with in VR.
1c. Basic Internet Browser - This widget demonstrates using UE4's built in web browser combined with the trace menu system to create a (semi)functioning web browser. It also demonstrate the trace keyboard component which allows you to have a 3D keyboard for VR. EXPERIMENTAL
1d. Basic Teleport Volume - This blueprint demonstrates a simple box on which the player can teleport on to.
1e. Basic Teleport Node - This demonstrates a basic node on which the player can teleport to. It allows you to define a custom teleport location by simply clicking on the actor in the level then grabbing and moving the teleport to location vector to where ever you need it.
1f. Advanced Teleport Area - An modifiable spline that automatically triangulates and creates a custom mesh for the user to teleport on to. To use simply select the actor and right click on the spline then add a spline point. The blueprint will handle rest for you.
##Enums
InteractionTraceTypes - contains the trace types
##Function Libraries
##Interfaces
TraceInteractionInterface - Contains the functions a interactable object can implement, used with blueprint actors.
Functions:
- TraceEnter - Triggered when a trace first hits an object.
- TraceLeave - Triggered when a trace leaves an object.
- TraceOver - Triggered whenever a trace hits any new component of the object.
- TraceOut - Triggered when a trace leaves a component.
- TraceMove - Triggered whenever a hit is moved on an object. (Note this function is pass-by-reference and hence cannot make changes to a implementing blueprint).
- TraceDown - Triggered whenever an input has been held down.
- TraceUp - Triggered whenever an input has been released.
##Structures