James Thomson on Nostr: Does anybody have any tips for generating a concave CollisionComponent in RealityKit? ...
Does anybody have any tips for generating a concave CollisionComponent in RealityKit?
I have some fairly simple geometry I'm loading from a usdz which I'd like to add a nicer fitting CollisionComponent to for accurate raycasting, but the closest thing is ShapeResource.generateConvex, which doesn't deal with holes.
Published at
2024-04-03 18:51:50Event JSON
{
"id": "0b2c62dbc922485bff88110bdbfaf3920c1be85f2dfa412343a65aefb2a7f92a",
"pubkey": "b612eaaf8816e9bf26f40e07104836e54d9bb4bfdb0ef306c3515ff72e18ba76",
"created_at": 1712170310,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/jamesthomson/statuses/112208793501524164",
"activitypub"
]
],
"content": "Does anybody have any tips for generating a concave CollisionComponent in RealityKit? \n\nI have some fairly simple geometry I'm loading from a usdz which I'd like to add a nicer fitting CollisionComponent to for accurate raycasting, but the closest thing is ShapeResource.generateConvex, which doesn't deal with holes.",
"sig": "4c2cfad72e75142515ded9fd8a09d3dfeeb36e0a13dca2a14170539851b8e8d86f4684f2f0793349734e34cc4224d3d26548bc226e5223069be1b65c6679d6e2"
}