Commit Graph
143 Commits
Author SHA1 Message Date
Mamadou Babaei cba9fe3688 only instantiate the connected glove once instead of recreating and destroying it every frame 2024-04-15 15:10:33 +02:00
Mamadou Babaei 3fa790928b correct the module logs grammars 2024-03-22 21:03:58 +01:00
Mamadou Babaei ecd0d8ea48 allow the c++ compiler the opportunity to perform rvo/nrvo if applicable 2024-03-22 21:03:58 +01:00
Mamadou Babaei 411c1c3fd1 integrate the virtual hand mesh from allbreaker 2024-03-22 21:03:57 +01:00
Mamadou Babaei d5a7d1d139 correct the hand mesh yaw rotation inside the sgpawn after the squat/sgvect3d changes 2024-03-22 21:03:56 +01:00
Mamadou Babaei b2861b0068 utilize UXRDeviceVisualizationComponent to display meshes on UE 5.2 onwards 2024-03-22 21:03:56 +01:00
Mamadou Babaei e8b00ff1a9 apply a temporary workaround in order to ameliorate the hand animation after sgquat, sgvect3d fixes 2024-03-22 21:03:55 +01:00
Mamadou Babaei 7970cb1e2a implement the api updates and bump the senseglove libraries to v2.101.2-2eb7439f 2024-03-22 21:03:50 +01:00
Mamadou Babaei 46813b44ec try to add a solution for glove type-casting in higher levels of the api 2024-03-22 21:03:49 +01:00
Mamadou Babaei 17228201b4 implement the nova2 api updates and bump the senseglove libraries to v2.101.0-3e1693fb 2024-03-22 21:03:47 +01:00
Mamadou Babaei ba9c5f5406 fix a bug where the right hand mesh is always hidden inside the game no matter whether the right glove is connected or not 2024-03-12 20:33:01 +01:00
Mamadou Babaei b72917c927 apply vibrotactile and force-feedback fixes backported from next major release 2024-02-18 20:30:18 +01:00
Mamadou Babaei fa7ed71778 bump the copyright years 2024-02-03 04:53:55 +01:00
Mamadou Babaei 2ea9b94116 fix a bug where released actor is going to be null whenever the OnActorReleased event fires 2023-11-03 18:39:06 +01:00
Mamadou Babaei cc1ae7a80c add the missing unreal header that defines ENGINE_*_VERSION macros in order to pass epic store builds for ue 5.3 2023-10-11 17:03:33 +02:00
Mamadou Babaei 669e11a8e8 change the ufunction specifier for sgpawn blueprint implementable events to blueprint native event in order to allow overrides from c++ as well 2023-10-10 17:31:30 +02:00
Mamadou Babaei 341f9d8443 This single commit inroduces the following changes:
- Introduced new SGPawn events: OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch.
- Exposed OnGrabStateUpdated, OnTouchStateUpdated, OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch events to Blueprint as BlueprintImplementableEvent.

- Fix a bug where the OnTouchStateUpdated event is mistakenly triggered instead of the OnGrabStateUpdated when the right thumb fingertip grab collider overlaps with a grabbable actor.
2023-10-10 16:14:06 +02:00
Mamadou Babaei 6a872cd673 move SGCoreImpl/SGPlatform to SGBuildHacks/SGPlatform and introduce SG_CPP20 and SG_CAPTURE_THIS 2023-09-14 18:53:20 +02:00
Mamadou Babaei 5904439412 introduce senseglove backend and backend kismet modules in order to properly initialize the backend in order to avoid a bug where sgcoonect::init gets called every frame 2023-09-14 18:53:19 +02:00
Mamadou Babaei f9b20ab71c add sggameinstance for future use 2023-09-14 18:53:19 +02:00
Mamadou Babaei 72344754bb remove a duplicated slash in a header's path 2023-09-14 18:53:19 +02:00
Mamadou Babaei cf8c684011 do not cache grabbed actors as overlapped actors 2023-08-14 17:28:08 +02:00
Mamadou Babaei c706550540 inline some pimpl methods in order to improve function call performance for regularly called methods 2023-08-14 17:28:07 +02:00
Mamadou Babaei 2e4a8b7904 cache all overlapped actors with the real/virtual hands 2023-08-14 17:28:07 +02:00
Mamadou Babaei 12365ff9b4 initial working implementation of the separated virtual/real hand rendering 2023-08-14 17:28:06 +02:00
Mamadou Babaei 0eb1e850da initial attempt at separating the hand rendering from the real hand 2023-08-14 17:28:01 +02:00
Mamadou Babaei 2552da9b10 alternative velocity calculation for released actors based on the hand's cached position history 2023-08-14 17:28:00 +02:00
Mamadou Babaei 7cf30bb4c4 alternative velocity calculation for released actors based on a cached position history 2023-08-14 17:28:00 +02:00
Mamadou Babaei db00266d29 apply the hand's velocity to the grabbed actor after release 2023-08-14 17:27:59 +02:00
Mamadou Babaei ef0588a903 fix grab/release bug for the right hand 2023-07-13 19:50:31 +02:00
Mamadou Babaei 9d51c63272 fix a wrist tracker bug where hands are getting tracked in reverse 2023-07-13 19:50:30 +02:00
Mamadou Babaei 32c2201c82 fix the motion source options crashes 2023-06-16 02:12:12 +02:00
Mamadou Babaei e495b40218 refactor the newly added motion source settings and off-load them from the wrist tracker to the settings system, though this causes crashes still 2023-06-16 02:12:12 +02:00
Mamadou Babaei 5247825f31 fix a bug where SteamVR trackers such as HTC VIVE and HTC VIVE Focus 3's wrist orientation and location were not being tracked. 2023-06-16 02:12:10 +02:00
Mamadou Babaei b3f663826a fully refactor the top-level configurations in the settings system into ustructs 2023-06-16 02:12:09 +02:00
Mamadou Babaei c485904a94 fix a critical Android crash that happens where the default development hand meshes are not found 2023-06-01 23:31:21 +02:00
Mamadou Babaei cb18cbd06b add a complementary internal method to IsUsingUserMesh, IsUsingDefaultMesh for checking various hand meshes 2023-06-01 23:31:20 +02:00
Mamadou Babaei 0702f56f29 fix an edit condition parsing failure that caused a bug in the settings
system where the virtual hand and the wrist tracker debug gizmos where
always drawn, regardless of chosen settings
2023-06-01 21:46:37 +02:00
Mamadou Babaei 6275699fae fix error C2440: 'initializing': cannot convert from 'void' to 'bool' when engine versio is < 5.2 2023-06-01 21:46:36 +02:00
Mamadou Babaei 29c3d7deeb implement an optional feature in order to automatically stop all haptics on the end play event 2023-05-19 18:14:57 +02:00
Mamadou Babaei 53ee42c65b temporarily disable the debug gizmo for the virtual hand and the wrist tracker due to an esoteric bug in the settings system 2023-05-19 18:14:56 +02:00
Mamadou Babaei c1144fdaa8 remove commented code 2023-05-19 18:14:56 +02:00
Mamadou Babaei aa3ad76bee increase the default finger tips collider sizes 2023-05-19 18:14:55 +02:00
Mamadou Babaei 78845a75f3 get root component instead of iterating over the components in order to disable/enable the actor physics 2023-05-19 18:14:55 +02:00
Mamadou Babaei 01a407ac8e fix a potential crash 2023-05-19 18:14:54 +02:00
Mamadou Babaei 637150ea10 stop all haptics on end play in order to make sure the glove won't get stuck in haptics feedbacks 2023-05-19 18:14:54 +02:00
Mamadou Babaei 5f350b4b43 set the default attachment rotation rule to keep relative 2023-05-19 18:14:54 +02:00
Mamadou Babaei 37d557df0e set the default attachment scale rule to snap to target 2023-05-19 18:14:53 +02:00
Mamadou Babaei ce6c8bf525 do not affect collision when grab/release 2023-05-19 18:14:53 +02:00
Mamadou Babaei 32a747ad4b refactor and remove the need to cache the component in the grab/release workflow 2023-05-19 18:14:52 +02:00