Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I would like to know the optimized way to catch objects in 'SteamVR' using 'SoftBody'
#4
(17-06-2020, 10:42 AM)JeongMin Lee Wrote: Oh~ Thank you reply.

So if you use this script, do you mean you can use softbody even if you grab an object?

You can't grab a softbody (or any deformable object) by parenting it under a transform, for the reasons I mentioned before. This script grabs a softbody, by doing what I explained in the previous message:

Quote:detects which particles are in contact with a collider/trigger, then fix them by setting their mass to infinite and set their position relative to the collider.



(17-06-2020, 10:42 AM)JeongMin Lee Wrote: Then let me ask you one more question.

Where should I put that script? I'd like to know that.

The script starts with [RequireComponent(typeof(ObiCollider))], so you should place it in the collider that is going to grab the softbody (the player's hand, for example).
Reply


Messages In This Thread
RE: I would like to know the optimized way to catch objects in 'SteamVR' using 'SoftBody' - by josemendez - 17-06-2020, 10:46 AM