Hi Malkalypse, In general your method was in a very good direction, it only needed a few fixes. Here is my interpretation: ( local intCount = 0 lo…
I was able to create this sort of button using mxs alone. but it require some work. you need to find a way to get the position of the button in screen…
you’ve mentioned the need to check if two point3 values are close enough, so here is a different way to do this that I like to use: fn closeEnoughPo…
Yes it was. My guess is that when you fire the ray from the point of the last hit, and because of precision reasons it is maybe possible that you hit…
kogen: Another approach I thought about was: Copying the mesh flippimg the normals and so having two meshes stick into eachother. Then you’d have to…
Hi kogen, I had once tried to do the same thing as you do here, but had no time to finish it and later forgot about it. Any how I found an algorithm t…
you can loop through the faces of the object and for each face check the dot product of the normal of the face with the direction of the camera. this …
I updated the script above, let me know if this works better for you…
hi wakkamis, here is my quick try on it: ( if selection.count > 1 and isKindOf $[1] shape then ( local pathObj = $[1] loca…
I did something like that a while ago, you can build a mesh from the uvw channel or simply copy the uvw channel to the mesh channel then fire a ray at…
you could use this test instead then: if not isValidNode $’gizmo_name_here’ then … or use the getNodeByName method and compare it to undefine…
you can try something like that: (didn’t test it) if (getClassInstances SphereGizmo).count == 0 then SphereGizmo radius:20 name:”BombGizmo”