flow: Capsule collider type
Currently there is only sphere colliders usable for flow. https://apidocs.vircadia.dev/MyAvatar.html#.FlowCollisionsOptions This is fairly limiting and doesn't allow more complicated stuff like skirts. With just one sphere per bone, you cannot have a skirt influenced by flow without it clipping into the legs or even the hip. The closest alternative is to not use flow on the skirt at all and weight the skirt to the legs.
If we take this collider from an fst file as an example:
flowCollisionsData = {"LeftArm":{"offset":{"x":0,"y":0.02,"z":0},"radius":0.05,"type":"sphere"}}
I would suggest adding a capsule collider type and adding a tail offset to essentially get two spheres which are connected to a capsule:
flowCollisionsData = {"LeftArm":{"offset":{"x":0,"y":0.02,"z":0},"radius":0.05,"tail":{"x":0,"y":1.02,"z":0},"type":"capsule"}}
This is in line with the current VRM 1.0 spec draft. https://github.com/vrm-c/vrm-specification/tree/master/specification/VRMC_node_collider_1.0_draft
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
:angry:
Hello! Is this still an issue?
Hello! Is this still an issue?