Commit Graph
231 Commits
Author SHA1 Message Date
Mamadou Babaei d1743d3c1a migrate away from the deprecated FXRMotionControllerData in favor of FXRMotionControllerState and FXRHandTrackingState on UE 5.5+ 2024-10-22 06:56:34 +02:00
Mamadou Babaei 71ee5eeb57 address a few ue 5.5 deprecation warnings 2024-10-11 12:31:20 +02:00
Mamadou Babaei 534e8cc49c fix code formatting 2024-10-11 12:31:19 +02:00
Mamadou Babaei e1d109e2af fix a bug inside USGVirtualHandComponent::PostEditChangeProperty() where the get member name check happens against the wrong class and member names 2024-10-11 12:31:19 +02:00
Mamadou Babaei d4fce1b131 fix a few virtual hand component visibility issues 2024-09-02 19:38:32 +02:00
Mamadou Babaei 06bd28d5b1 fix the non-existent default hand-mesh warnings polluting the logs when packaging the game 2024-09-02 19:38:32 +02:00
Mamadou Babaei abb2b3cb23 fix ue 5.4 runuat build issues inside the sggrabcomponent caused by missing headers 2024-08-16 18:01:09 +02:00
Mamadou Babaei 7da14e0cc3 fix a few bugs that does affect the real hand collision events because of SetVisibility and redundant checking against grabbed actor 2024-08-16 18:01:08 +02:00
Mamadou Babaei 3974c8ac6f replace SGPawn::FImpl::EnableActorPhysics() and SGPawn::FImpl::DisableActorPhysics() with USGGrabComponent::SimulatePhysics() 2024-08-16 18:01:08 +02:00
Mamadou Babaei 5f81430677 enable bGravityEnabled, bSimulatePhysics, and call WakeRigidBody on grab component's owning actor at BeginPlay() if bAffectPhysicsState is enabled 2024-08-16 18:01:08 +02:00
Mamadou Babaei b2e442087a use the value of GrabAttachPointSocketName from the plugin settings as default for USGGrabComponent's AttachmentSocketName uproperty 2024-08-16 18:01:08 +02:00
Mamadou Babaei bfbdd17afa add the console commands SG_GetEngineScalabilitySettings and SG_SetEngineScalabilitySettings 2024-08-16 18:01:06 +02:00
Mamadou Babaei 97fcb0a5f8 replace all bitfield uproperties with booleans 2024-08-16 18:01:03 +02:00
Mamadou Babaei d254817a54 replace c++ standard int type definitions with the ones from unreal 2024-08-16 18:00:59 +02:00
Mamadou Babaei 3349f2ea09 rename SGHardwareBenchmarkSettings to SGHardwareBenchmarkingSettings 2024-08-16 18:00:57 +02:00
Mamadou Babaei 9ead63b06a apply the plugin settings when the user overrides the settings for the first time 2024-08-16 18:00:57 +02:00
Mamadou Babaei 351a1ccfe4 do not ensure as it's possible to get a nullpointer during component uninitialization 2024-08-16 18:00:57 +02:00
Mamadou Babaei 3470af3e39 re-implement the virtual hand settings overrides; and apply plenty of other improvements and bug fixes to the settings system; and introduce sgdebugcubesettings 2024-08-16 18:00:57 +02:00
Mamadou Babaei 5fa053d5b5 remove the motion source wrist tracking overrides from the wrist tracker component due to the fact that it's utilized only inside the underlying tracking module and overriding it has no effects 2024-08-16 18:00:57 +02:00
Mamadou Babaei 15cad0337c re-implement the wrist tracking settings overrides 2024-08-16 18:00:57 +02:00
Mamadou Babaei bd3a3706d3 rename bIsVirtualHandVisible to bVirtualHandVisible 2024-08-16 18:00:57 +02:00
Mamadou Babaei 1bccf91066 fix the debug virtual hand settings and logic 2024-08-16 18:00:57 +02:00
Mamadou Babaei 14ffd6bdd6 fix a comment 2024-08-16 18:00:57 +02:00
Mamadou Babaei 546a4a8968 fix various runuat buiild issues 2024-08-16 18:00:56 +02:00
Mamadou Babaei 9f8d5afca3 do not reigger OnGrabStateUpdated and OnTouchStateUpdated at all when the hand mesh is not valid or visible and also some other extra measures to make sure even if they are triggered they won't affect anything 2024-08-16 18:00:56 +02:00
Mamadou Babaei 82bf274f3a take into account the device visual type when updating the hand visibility 2024-08-16 18:00:56 +02:00
Mamadou Babaei cb11ea6a99 rename variable 2024-08-16 18:00:56 +02:00
Mamadou Babaei 297aec2531 seprate the engine and senseglove module dependency lists 2024-08-16 18:00:56 +02:00
Mamadou Babaei d0b2ec380e implement our own GetMotionControllerData instead of using the one from the XRTrackingSystem as it only picks up the first hand tracking plugin in order to make sure at least internally we use the hand-tracking data from senseglove 2024-08-16 18:00:56 +02:00
Mamadou Babaei 54481effbd minor fixes 2024-08-16 18:00:56 +02:00
Mamadou Babaei fac8336d47 implement the SenseGlove grab/touch sockets one-click-setup ability on any Epic-compliant virtual hand mesh from within the Unreal Editor's Content Browser, Skeleton Editor, or Skeletal Mesh Editor 2024-08-16 18:00:56 +02:00
Mamadou Babaei dce323ed53 revamp the whole settings system in order to unify the settings across various systems, modules, and api layers 2024-08-16 18:00:56 +02:00
Mamadou Babaei 33404072c8 make the virtual hand anim instance proxy safer 2024-08-16 18:00:56 +02:00
Mamadou Babaei d8feeb63ec add the DebugVirtualHandSettings to the Debugging category 2024-08-16 18:00:55 +02:00
Mamadou Babaei 94e5025bf8 rename SGVirtualHandTrackingSettings to SGVirtualHandSettings 2024-08-16 18:00:55 +02:00
Mamadou Babaei abc953f7b8 fix a critical Android crash that happens where the default development hand meshes could not be found 2024-08-16 18:00:55 +02:00
Mamadou Babaei 91f87e8152 remove the hardcoded SG_HAND_MESH_YAW_CORRECTION_OFFSET and rely on FVirtualHandTrackingSettings::RootBoneRotationCorrection 2024-08-16 18:00:55 +02:00
Mamadou Babaei 5640acfac7 fix runuat build issues for ue 5.4 caused by missing headers 2024-08-16 18:00:55 +02:00
Mamadou Babaei 0a9c9a9f6a fix more runuat issues due to missing headers 2024-08-16 18:00:55 +02:00
Mamadou Babaei c982be561f fix a few build issues 2024-08-16 18:00:55 +02:00
Mamadou Babaei 0b28d519cf add missing header that contains engine version definitions 2024-08-16 18:00:55 +02:00
Mamadou Babaei 003e1cf34e remove the experimental bHandTrackingVisualizationAllowed feature 2024-08-16 18:00:54 +02:00
Mamadou Babaei 9cf900703f remove SetWristTrackingSettings from the FSGWristTrackerComponent's header file since it does not have any implementation 2024-08-16 18:00:54 +02:00
Mamadou Babaei 69cb065835 check if motioncontrollerdata is valid 2024-08-16 18:00:54 +02:00
Mamadou Babaei 2275872c44 remove the ability to override wrist tracking settings from the wrist tracker component 2024-08-16 18:00:54 +02:00
Mamadou Babaei 7aa9a76882 fix ue 5.2 and 5.3 build issues 2024-08-16 18:00:54 +02:00
Mamadou Babaei 15e42e2a36 remove SGWristTrackerVisualizationComponent 2024-08-16 18:00:54 +02:00
Mamadou Babaei 6fc9c91b4a fix a few wrist tracker issues and introduce SGWristTrackerVisualizationComponent 2024-08-16 18:00:54 +02:00
Mamadou Babaei 01f487a87c pass outer as the worldcontextobject to glovetracker::getinstance 2024-08-16 18:00:54 +02:00
Mamadou Babaei ce8a01dc05 make USGGloveTracker::GetInstance as flexible as possible 2024-08-16 18:00:54 +02:00