Notifications
Clear all

[Closed] Get the new position of point after FFD

I put a point help on a surface on box,
then I use FFD deform the box together with the box.
i can see the point helper moved with the box within the scene.
But when i use “$Point01.pos” to find its position, it shows the same position before the FFD.
How can i find its updated position and its normal?
thx

6 Replies

that’s something i’d also like to know…

 JHN

I’m not very clear on what the problem is, maybe post a sample scene?!

-Johan

1 Reply
(@gohkgohk)
Joined: 10 months ago

Posts: 0

when i use “$Point01.pos”, it return [5.37371,-56.2045,16.7509]
but it is the position before FFD

 JHN

Aaah, yes, well, that’s actually very logical. The FFD is deforming the “geometry” of an object. So the only thing you are moving/modifying is the representation of the helper object and not it’s transform.
Same goes for the box, you’re only moving it’s vertices/faces and not it’s original position.

What you want to do is assign an attachment controller to the null and pick in the attachment controller (look it up in the helpfile) the face you want to follow. When it’s properly set you can trace the position of the point. This way is simply the wrong way of doing things.

Hope that clears it up a bit,
-Johan

1 Reply
(@gohkgohk)
Joined: 10 months ago

Posts: 0

thank your for you reply
but now i hv another problem.I created a cylinder and a sphere.
Now i set an attachment control to the sphere, which will attach a small cylinder on its face.
yes .i can attach cylinder on it. but the axis of cylinder do not prependicular to the face on sphere. Is there any rotation constraint that maintain the cylinder prependicular to the face of sphere?
thx

Switch on the align to surface option in the attachment controller rollout, this should align the cylinder perpendicular to the face.

Now i set an attachment control to the sphere, which will attach a small cylinder on its face.

To attach the cylinder to the sphere’s face you need to put attachment controller to the cylinder and press set position and enter the face no. to attach to a face on the sphere.