Commit Graph
115 Commits
Author SHA1 Message Date
Mamadou Babaei fee9657be4 fix a critical Android crash that happens where the default development hand meshes are not found 2023-06-01 23:30:52 +02:00
Mamadou Babaei c276a6ef40 add a complementary internal method to IsUsingUserMesh, IsUsingDefaultMesh for checking various hand meshes 2023-06-01 23:30:52 +02:00
Mamadou Babaei d7c835ce79 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:04 +02:00
Mamadou Babaei a245094c81 fix error C2440: 'initializing': cannot convert from 'void' to 'bool' when engine versio is < 5.2 2023-06-01 21:46:04 +02:00
Mamadou Babaei 55e9a67592 implement an optional feature in order to automatically stop all haptics on the end play event 2023-05-19 18:12:14 +02:00
Mamadou Babaei 9519d5e49b 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:12:14 +02:00
Mamadou Babaei eaa5fbb1df remove commented code 2023-05-19 18:12:13 +02:00
Mamadou Babaei 50a0a81a0b increase the default finger tips collider sizes 2023-05-19 18:12:13 +02:00
Mamadou Babaei 818f926137 get root component instead of iterating over the components in order to disable/enable the actor physics 2023-05-19 18:12:12 +02:00
Mamadou Babaei 4453c2b61f fix a potential crash 2023-05-19 18:12:12 +02:00
Mamadou Babaei fc9a1fc0d7 stop all haptics on end play in order to make sure the glove won't get stuck in haptics feedbacks 2023-05-19 18:12:11 +02:00
Mamadou Babaei 955e5fee9b set the default attachment rotation rule to keep relative 2023-05-19 18:12:11 +02:00
Mamadou Babaei b33125dbbd set the default attachment scale rule to snap to target 2023-05-19 18:12:11 +02:00
Mamadou Babaei 8976e4c04d do not affect collision when grab/release 2023-05-19 18:12:10 +02:00
Mamadou Babaei fb7f42ed09 refactor and remove the need to cache the component in the grab/release workflow 2023-05-19 18:12:10 +02:00
Mamadou Babaei 93f24493d6 refactor the grab/touch logic and data structure and also cache the component ready to be grabbed in order to affect its physics state 2023-05-19 18:12:09 +02:00
Mamadou Babaei 0ac79a81a1 try an alternative approach for the grab/release functionality by disabling/enabling physics simulation 2023-05-19 18:12:09 +02:00
Mamadou Babaei 1363e292cc add grab sucess/fail checks with error messages 2023-05-19 18:12:08 +02:00
Mamadou Babaei 2fbfbd3067 add ensure checks on the grab socket name 2023-05-19 18:12:08 +02:00
Mamadou Babaei 02a88d2977 move socket name to a temp var for easier debugging 2023-05-19 18:12:08 +02:00
Mamadou Babaei 8f50017365 move attachment rules to a temp var for easier debugging 2023-05-19 18:12:07 +02:00
Mamadou Babaei b03d8970ab fix a release-detection logic error 2023-05-19 18:12:07 +02:00
Mamadou Babaei 4cc2f8a110 clean up and simplify the touch callback lambda 2023-05-19 18:12:06 +02:00
Mamadou Babaei 1159fc845a force off haptic commands when collision ends 2023-05-19 18:12:05 +02:00
Mamadou Babaei 3185d7a6f2 only send force-feedback and buzz commands when they are not zero 2023-05-19 18:12:05 +02:00
Mamadou Babaei 8f9724b726 fix a build error where engine versions are < 5.2 2023-05-19 18:12:00 +02:00
Mamadou Babaei d6b821903a capture by reference in the buzz timer callback lambda or otherwise crash 2023-05-19 18:11:57 +02:00
Mamadou Babaei 26f9305364 fix a crash due to uninitialized pimpl object 2023-05-19 18:11:57 +02:00
Mamadou Babaei b2a09ca7b8 fix lambda crashes and ensure logic bugs 2023-05-19 18:11:56 +02:00
Mamadou Babaei 77092ce04c complete the implementation for the touch functionality and its feedbacks 2023-05-19 18:11:56 +02:00
Mamadou Babaei b93ca620b5 add the initial implementation for the touch functionality and its feedbacks 2023-05-19 18:11:55 +02:00
Mamadou Babaei 732894fbe2 expose the connected glove in the virtual hand's api 2023-05-19 18:11:55 +02:00
Mamadou Babaei 2ddfaecc0d add static get component methods for quickly accessing grab/touch components 2023-05-19 18:11:55 +02:00
Mamadou Babaei 912b9e0d39 remove the variable names from the grab/touch signatures 2023-05-19 18:11:54 +02:00
Mamadou Babaei ddb368440c add the grab/touch state update events 2023-05-19 18:11:54 +02:00
Mamadou Babaei ccd2ac2ad9 fix a crash by removing wrong delegate binds 2023-05-19 18:11:53 +02:00
Mamadou Babaei 897394fbf2 add a buzz timeout uproperty 2023-05-19 18:11:52 +02:00
Mamadou Babaei 0849a64a55 merge all properties inside the grab component into one group 2023-05-19 18:11:52 +02:00
Mamadou Babaei aca8c4c534 simplify and merge separate buzz/force-feedback levels into one value on the touch component 2023-05-19 18:11:52 +02:00
Mamadou Babaei 90b5a886df Revert "move force-feedback properties from the touch component to the grab component"
This reverts commit 9faa9d2ca4.
2023-05-19 18:11:51 +02:00
Mamadou Babaei 1e0501966f move force-feedback properties from the touch component to the grab component 2023-05-19 18:11:51 +02:00
Mamadou Babaei 18ec23251c cache which finger can grab or touch objects 2023-05-19 18:11:50 +02:00
Mamadou Babaei c9ef501868 set up the overlap events for the grab/touch fingertip colliders 2023-05-19 18:11:50 +02:00
Mamadou Babaei 4dad555486 add the api for getting/setting touch properties 2023-05-19 18:11:49 +02:00
Mamadou Babaei 7a83ad5877 add the api for getting/setting grab properties 2023-05-19 18:11:49 +02:00
Mamadou Babaei 708d35fd59 add a grab socket uproperty, getters, and setters 2023-05-19 18:11:49 +02:00
Mamadou Babaei d6e53d45bd whitespace fix 2023-05-19 18:11:48 +02:00
Mamadou Babaei a4176fbca7 differentiate the default grab/touch socket names 2023-05-19 18:11:48 +02:00
Mamadou Babaei ea29e1020e integrate the touch component and colliders and rename the grab ones 2023-05-19 18:11:47 +02:00
Mamadou Babaei 5a697e567e add a touch component intended to be used for force-feedback 2023-05-19 18:11:47 +02:00