Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D lock point to object?

  • lock point to object?

    Posted by Andy Stokes on October 17, 2008 at 2:58 pm

    Hi All,

    I have a simple 4×4 grid which I have made editable.

    I’d like to know how might I lock or constrain single points to another object? Basically I have a bunch of nulls which i’d like to animated that i’d like be connected together by the surface (each point constrained to a sinlge null). Hope this is clear.

    Any tips on where I should start to look would be great.

    Thx,
    Andy

    Brian Jones replied 15 years, 4 months ago 3 Members · 3 Replies
  • 3 Replies
  • Adam Trachtenberg

    October 17, 2008 at 3:17 pm

    You can do this with Xpresso. Drag the null and the object into the Xpresso editor. You’ll need to know the index number of the point you want to constrain to, which you can find in the structure manager. Then create a point node and connect your object’s “object” out port to the point node’s “object” in port. Click on the point node and set the point index number in the attributes manager. Then connect the node’s “point position” out port to the null’s global position in port.

  • Andy Stokes

    October 19, 2008 at 11:00 am

    Hi Adam,

    Thanks for the response. I have followed what you said, although it seems the setup is working in reverse for what I actually want to do. Maybe I wasn’t clear. Right now the Null is locking to the surface, where I actually want the point on the surface to lock to the null.. I actually need the point position to be an “in” port if you see what I mean? Any way to achieve this?

    Thanks,
    Andy

    p.s: Goot to know though all the same 😉

  • Brian Jones

    October 19, 2008 at 5:38 pm

    Yes, that’s possible too,
    – the object with points to move still goes into the Point node’s Object port
    – enable the Point Position input on the Point node by right-clicking on the left of the node (the blue rectangle)
    – use the Null’s Global Position to input into the Point Position port you just enabled

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy