How do you snap curve to grid in Unity?
4909 9 4- stephenanimation27
- Member
- 27 posts
- Joined: Jan. 2017
- Offline
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
- winkel
- Member
- 218 posts
- Joined: March 2006
- Offline
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
You'll need to make the curve node editable for it to show up (i.e. add to Editable nodes in Type Properties).
And you can make the curve editing snap to terrain by either use the terrain collider or the setting the layer of the terrain in the curve's collision section. Specifically, change the Draw Collision Type to Layer, then set the layer of the terrain as the value.
https://www.sidefx.com/docs/unity/_curves.html#Curves_ParametersUI [www.sidefx.com]
And you can make the curve editing snap to terrain by either use the terrain collider or the setting the layer of the terrain in the curve's collision section. Specifically, change the Draw Collision Type to Layer, then set the layer of the terrain as the value.
https://www.sidefx.com/docs/unity/_curves.html#Curves_ParametersUI [www.sidefx.com]
Edited by seelan - May 30, 2018 09:26:23
- winkel
- Member
- 218 posts
- Joined: March 2006
- Offline
- winkel
- Member
- 218 posts
- Joined: March 2006
- Offline
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
- winkel
- Member
- 218 posts
- Joined: March 2006
- Offline
Hi,
OK, my asset works (just some selfmade problems). But I can't find a solution for what I want to do:
1) Flat curve in Houdini
2) Asset in Houdini workes fine
3) Can't get the Houdini curves into Unity (nothing visible)
4) A Unity/Houdni curve object in Unity workes fine without auto update. Each time I edit the curve I have to recook the Asset
I want to import the original Houdini Curve (as HDA) into Unity
than ray this onto my Unity terrain and bring this into my Wall-Asset
Don't know if it is better to import a 400kb fbx file into unity, than building it with an Asset inside Unity?
Thanks for your support!
Detlef
OK, my asset works (just some selfmade problems). But I can't find a solution for what I want to do:
1) Flat curve in Houdini
2) Asset in Houdini workes fine
3) Can't get the Houdini curves into Unity (nothing visible)
4) A Unity/Houdni curve object in Unity workes fine without auto update. Each time I edit the curve I have to recook the Asset
I want to import the original Houdini Curve (as HDA) into Unity
than ray this onto my Unity terrain and bring this into my Wall-Asset
Don't know if it is better to import a 400kb fbx file into unity, than building it with an Asset inside Unity?
Thanks for your support!
Detlef
Edited by winkel - May 31, 2018 06:54:18
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
I attached an HDA that provides an example of using an editable curve node inside the network, as well as providing an override external curve asset. A switch node is used to select one or the other.
For updating the curve to project down to the terrain, you can create a heightfield inside a subnet, and use that to project the curve onto it in Houdini. This should automatically update the curve when the terrain changes, and have your asset generate the terrain as well as the wall.
For updating the curve to project down to the terrain, you can create a heightfield inside a subnet, and use that to project the curve onto it in Houdini. This should automatically update the curve when the terrain changes, and have your asset generate the terrain as well as the wall.
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
-
- Quick Links