MatanH
@matanh
New Member
Joined: Feb 14, 2024
Topics: 28 / Replies: 281
Reply
RE: Looking for intersection checking script…

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…

16 years ago
Forum
Reply
RE: How to achieve this drop down button?

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…

16 years ago
Forum
Reply
RE: Value compare – close enough?

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…

16 years ago
Forum
Reply
RE: Auto-Skin-Weight Approach

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…

16 years ago
Forum
Reply
RE: Auto-Skin-Weight Approach

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…

16 years ago
Forum
Reply
RE: Auto-Skin-Weight Approach

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…

16 years ago
Forum
Reply
RE: How to detect object's face is flip towards the camera ?

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 …

16 years ago
Forum
Reply
RE: Path Constraint Randomly Placed Objects

I updated the script above, let me know if this works better for you…

16 years ago
Forum
Reply
RE: Path Constraint Randomly Placed Objects

hi wakkamis, here is my quick try on it: ( if selection.count > 1 and isKindOf $[1] shape then ( local pathObj = $[1] loca…

16 years ago
Forum
Topic
Forum
Replies: 1
Views: 44
Reply
RE: place object on UV @ x,y

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…

16 years ago
Forum
Reply
Topic
Forum
Replies: 2
Views: 35
Reply
RE: no duplicates in the scene

you could use this test instead then: if not isValidNode $’gizmo_name_here’ then … or use the getNodeByName method and compare it to undefine…

16 years ago
Forum
Reply
RE: no duplicates in the scene

you can try something like that: (didn’t test it) if (getClassInstances SphereGizmo).count == 0 then SphereGizmo radius:20 name:”BombGizmo”

16 years ago
Forum
Page 13 / 21