Oh. Any time you make a cylinder editable you need to grab all the vertices and click the "Optimize" function, other wise the cap and the body are considered separate objects.
Very nice! I've just started exploring the "clusters" method, although for some reason it does not seem to be working with spline for me. Could You maybe elaborate on that? Thanks!
Regarding the first method, What if you want to move a different point from the same shape independently from the RED null object. Creating a new let's say BLUE object? but then how do you link it ?
I have a 3D face tracked to footage of an actor. Is there a way to attach a null to a vertex of the face, and have it follow that vertex through the entire point cached animation? Another way of asking- is there a way to select a vertex and bake it’s position out to a null?
In Script Manager: import c4d def main(): cube = doc.SearchObject('cube') # replace 'cube' with the name of your cube null = doc.SearchObject('null') # replace 'null' with the name of your null object if cube and null: point_index = 0 # change this to the index of the point you want on the cube if point_index < cube.GetPointCount(): point_position = cube.GetPoint(point_index) null.SetAbsPos(point_position * cube.GetMg()) c4d.EventAdd() # Execute main() if __name__=='__main__': main()
@@Quick_VFX Thank you! That puts the nulls in the right place, but doesn't stick during the point cache animation. I got this to work in Xpresso, by using a point node, and piping the Point Position into the position of the null. Now I wish I could script that, but so far I've only been able to do it manually.
it doesnt seem possible to connect an already existing null to a vertices of my choice. It seems to choose the vertices for you. Do you know how to get around that?
Comment after 7 years: The Xpresso thing is useless. Cluster can save the day. (A secret: I use C4D for almost 10 years and I've just learnt that cluster!)
Over 12 years in C4D and I never knew about that Cluster thing. Thanks man!!
Oh. Any time you make a cylinder editable you need to grab all the vertices and click the "Optimize" function, other wise the cap and the body are considered separate objects.
This just saved my life, I've been using rope dynamics for ages and it's just so slow
Needed a simple way to do this for a specific project and never heard of the point cluster. I'm sure I'll use this command a lot now. Thanks!!
Thanks! This really helped me a lot.
This tutorial was exactly what I was looking for! Thank you so much!
at 4:27 you should in polygone mode select all polygons and opimize it, then add a cluster for selected vertices
Thanks man... I was trying to connect a null to a spline point.
My deadline is in two days and my Xpresso knowledge is 0.
Ur tutorial saved the day.
dude HONESTLY thank you
Very nice! I've just started exploring the "clusters" method, although for some reason it does not seem to be working with spline for me. Could You maybe elaborate on that? Thanks!
You saved me lots of time, thanks!
Lifesaver! 👍 Thanks!!!
Cool! Thanks!
Regarding the first method, What if you want to move a different point from the same shape independently from the RED null object. Creating a new let's say BLUE object? but then how do you link it ?
I have a 3D face tracked to footage of an actor. Is there a way to attach a null to a vertex of the face, and have it follow that vertex through the entire point cached animation?
Another way of asking- is there a way to select a vertex and bake it’s position out to a null?
In Script Manager:
import c4d
def main():
cube = doc.SearchObject('cube') # replace 'cube' with the name of your cube
null = doc.SearchObject('null') # replace 'null' with the name of your null object
if cube and null:
point_index = 0 # change this to the index of the point you want on the cube
if point_index < cube.GetPointCount():
point_position = cube.GetPoint(point_index)
null.SetAbsPos(point_position * cube.GetMg())
c4d.EventAdd()
# Execute main()
if __name__=='__main__':
main()
@@Quick_VFX Thank you! That puts the nulls in the right place, but doesn't stick during the point cache animation.
I got this to work in Xpresso, by using a point node, and piping the Point Position into the position of the null. Now I wish I could script that, but so far I've only been able to do it manually.
You need to otimise the cylinder points before using because the cap is not attached
it doesnt seem possible to connect an already existing null to a vertices of my choice. It seems to choose the vertices for you. Do you know how to get around that?
help me a lot, thank you soooo much~
Comment after 7 years: The Xpresso thing is useless. Cluster can save the day.
(A secret: I use C4D for almost 10 years and I've just learnt that cluster!)