So I create a new component and I add it on my SceneRoot component ?
by user 224464722878005248
So I create a new component and I add it on my SceneRoot component ?
by user 224464722878005248
Yes you replace the ObjectRaycaster with it. SceneRoot would work
itâs important to understnad that all the children will be raycasted if you add it to the root and you have a large scene. Meaning if you KNOW you only want to raycast some part of your scene itâs better to add it just on a parent for this part of the hierarchy
Okay
by user 224464722878005248
We already have a task for improving this and then the âignore skinned meshesâ thing will be removed again as well. Sorry for the inconvinience. We just noticed that often times scenes were unnecessarily slow because of this behaviour
The MyEventHandler component btw is just my quick test - you dont need it of course ^^
Okay ^^
by user 224464722878005248
I got a big error (again)
by user 224464722878005248
by user 224464722878005248
My Needle doesnât find its scripts anymore
by user 224464722878005248
I tried to use // @dont-generate-component
But nothing happened
by user 224464722878005248
Okay I deleted the SelectableTooth.cs component and now itâs working
by user 224464722878005248
yes - this will not delete scripts in the Assets folder. But it will prevent generating new components for this script
If you dont want to generate any components you can just delete the ComponentCompiler in your scene
Itâs real that itâs a lot slower to use Skinned Mesh Raycaster I will try to use another technique
by user 224464722878005248
If I use colliders, I donât need skinned mesh geometry ?
by user 224464722878005248
You could just add cubes as a bounding object to your teeth and disable the renderer (the MeshRenderer of the cube)
it would be an approximation of your teeth geometry - so the cubes would just be your âCollider meshesâ basically
Okay because I use Mesh collider in my scene, so maybe itâs will be better to use them for that
by user 224464722878005248
Sorry for bothering you again⊠But i got another error which I really donât understand and I after update again :
by user 224464722878005248