-
- Downloads
refactor(interaction, replication): Initial refactoring of the interaction...
refactor(interaction, replication): Initial refactoring of the interaction system to better lay the groundwork for interaction replication. Very rough untested draft as of now, changes include: - Action/Hover now inherit from a BaseBehaviour which can save shared information, and adds some basic replication properties. - Adds a BaseInteractionComponent which similarly to the BaseBehaviour contains replication and some general properties shared by both direct and ray interactors. - Start/End functions have been condensed into one, and an Enum now separates the two. This reduces code duplication especially for replication by a lot. - Adjusts other components such as intenselect to the new refactoring
parent
d0c248c5
No related branches found
No related tags found
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
Showing
- Config/DefaultRWTHVRToolkit.ini 7 additions, 1 deletionConfig/DefaultRWTHVRToolkit.ini
- Source/RWTHVRToolkit/Private/Interaction/Interactables/ActionBehaviour.cpp 2 additions, 15 deletions...kit/Private/Interaction/Interactables/ActionBehaviour.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactables/BaseBehaviour.cpp 4 additions, 0 deletions...olkit/Private/Interaction/Interactables/BaseBehaviour.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactables/GrabBehavior.cpp 37 additions, 27 deletions...oolkit/Private/Interaction/Interactables/GrabBehavior.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactables/HoverBehaviour.cpp 5 additions, 6 deletions...lkit/Private/Interaction/Interactables/HoverBehaviour.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactables/IntenSelect/IntenSelectable.cpp 10 additions, 7 deletions...Interaction/Interactables/IntenSelect/IntenSelectable.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactables/InteractableComponent.cpp 72 additions, 48 deletions...ivate/Interaction/Interactables/InteractableComponent.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactors/DirectInteractionComponent.cpp 15 additions, 10 deletions...te/Interaction/Interactors/DirectInteractionComponent.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactors/RaycastInteractionComponent.cpp 17 additions, 13 deletions...e/Interaction/Interactors/RaycastInteractionComponent.cpp
- Source/RWTHVRToolkit/Private/Interaction/Interactors/UBaseInteractionComponent.cpp 152 additions, 0 deletions...ate/Interaction/Interactors/UBaseInteractionComponent.cpp
- Source/RWTHVRToolkit/Public/Interaction/Interactables/ActionBehaviour.h 7 additions, 20 deletions...oolkit/Public/Interaction/Interactables/ActionBehaviour.h
- Source/RWTHVRToolkit/Public/Interaction/Interactables/BaseBehaviour.h 34 additions, 0 deletions...RToolkit/Public/Interaction/Interactables/BaseBehaviour.h
- Source/RWTHVRToolkit/Public/Interaction/Interactables/GrabBehavior.h 5 additions, 4 deletions...VRToolkit/Public/Interaction/Interactables/GrabBehavior.h
- Source/RWTHVRToolkit/Public/Interaction/Interactables/HoverBehaviour.h 8 additions, 12 deletions...Toolkit/Public/Interaction/Interactables/HoverBehaviour.h
- Source/RWTHVRToolkit/Public/Interaction/Interactables/InteractableComponent.h 7 additions, 7 deletions.../Public/Interaction/Interactables/InteractableComponent.h
- Source/RWTHVRToolkit/Public/Interaction/Interactables/InteractionEventType.h 8 additions, 0 deletions...t/Public/Interaction/Interactables/InteractionEventType.h
- Source/RWTHVRToolkit/Public/Interaction/Interactors/DirectInteractionComponent.h 4 additions, 15 deletions...blic/Interaction/Interactors/DirectInteractionComponent.h
- Source/RWTHVRToolkit/Public/Interaction/Interactors/RaycastInteractionComponent.h 4 additions, 12 deletions...lic/Interaction/Interactors/RaycastInteractionComponent.h
- Source/RWTHVRToolkit/Public/Interaction/Interactors/UBaseInteractionComponent.h 74 additions, 0 deletions...ublic/Interaction/Interactors/UBaseInteractionComponent.h
Loading
Please register or sign in to comment