markersniffen
markersniffen
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
'stick' object to surface of sphere April 21, 2015, 12:28 p.m.
Hey all,
This is probably a pretty simple problem; I am creating a tiny planet with roughly 10-20 large buildings stuck to the surface of the planet. I want to be able to grab a building and move it around while it sticks to the surface of the planet as while as maintaining proper orientation away from the surface. Having a control to rotate each building on the other axis is another goal.
Logically it seems simple. I don't know if I need to write an expression to limit the position each building to a specific distance from the planet (which I don't know the math for….I don't know how to translate distance from a point into position…), or if there is a node workflow that would do this…
I've managed to to populate a bunch of ‘buildings’ on random points that were generated using scatter; creating normals, carrying them through to the copy node, ete. This was all inside the sphere object that I created, and I don't know if I should be ‘rigging’ this at the top obj level or inside of an object.
Thanks!
This is probably a pretty simple problem; I am creating a tiny planet with roughly 10-20 large buildings stuck to the surface of the planet. I want to be able to grab a building and move it around while it sticks to the surface of the planet as while as maintaining proper orientation away from the surface. Having a control to rotate each building on the other axis is another goal.
Logically it seems simple. I don't know if I need to write an expression to limit the position each building to a specific distance from the planet (which I don't know the math for….I don't know how to translate distance from a point into position…), or if there is a node workflow that would do this…
I've managed to to populate a bunch of ‘buildings’ on random points that were generated using scatter; creating normals, carrying them through to the copy node, ete. This was all inside the sphere object that I created, and I don't know if I should be ‘rigging’ this at the top obj level or inside of an object.
Thanks!