instead of the for loop to set attributes, you can make an attribute wrangle over points: f@gravity = ch(concat("../grav",itoa(@ptnum)));
@YetAnotherPilot4 жыл бұрын
I suggest using normalized screen XY coordinates, (divide by screen width/height) so the gravity and separation values can be more consistent and not based on pixels.
@왜못할거라생각해4 жыл бұрын
can you leave a code for other's
@bekabaratashvili31783 жыл бұрын
@@왜못할거라생각해 self.Scene_sizeY = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer).size()[1] gives you height of Scene view. then drag_normilized = (device.mouseY() - self.first_click) / self.Scene_sizeY
@animadorazo Жыл бұрын
great tutorial
@tbarsnessvfx3 жыл бұрын
is there a way to modify the position of the base curve points after clicking down. For example in the curve sop once you have created the curve you can modify the position of the points after the curve has been created.
@chriswong29033 жыл бұрын
this is the exact tutorial I am looking for, thank you soooo much, but its seems not working on Houdini Engine... May I know How to make it works In Unity?😭