LocalJoost / BlogComments

This repo is solely used for comments on https://localjoost.github.io/
4 stars 0 forks source link

Comments on "Getting the hand ray end position with MRTK3" #465

Open LocalJoost opened 7 months ago

LocalJoost commented 7 months ago

Original article: https://localjoost.github.io/Getting-the-hand-ray-end-position-with-MRTK3/

ldzung commented 6 months ago

Thank you for your reply. It is extremely useful, and my issue was solved.

ldzung commented 6 months ago

I have one more question. Is there any way to perform this task without RealityCollective package?

LocalJoost commented 6 months ago

Sure. You could make the whole MRTK3ConfigurationFindingService into a simple normal C# class, a static or singleton. I would not recommend that from a reusability and architecture standpoint, but you sure can do it.

Or you could convert it to an MRTK3 subsystem, but that makes it quite a bit more complex

amichaicharnoff commented 4 months ago

@LocalJoost - Can this be used as a single C# script so it can be simply dropped into another MRTK3 project, without any messy package conflicts or dependencies?

LocalJoost commented 4 months ago

@amichaicharnoff There are no 'messy package conflicts', but you willI need the RealityCollective Service Framework. Like I said in the comment above yours it should not be very hard to convert the service into a singleton or a behaviour.