Jump to content

[solved] Path3D.curve > getWorldCoordinates of each point?


jellix
 Share

Recommended Posts

Hi,

how can I get the absolute positions of points of a curve?

I'm getting the curve out of a Path3D Object that is a child of a Mesh.

Currently I'm adding the absolute position of the mesh onto the local coordinates of the curve-points. But that's not a cool way, is it?

---

Oh, just have to add some info: the mesh that contains the curve is rotated ...

Maybe now it's not that easy any more :-)

Link to comment
Share on other sites

It works, thanks a lot!

Excactly what I've needed.

So ... how can I mark this thread as solved now?

----

And maybe one more question:

Before I've used "var firstAbsolutePoint = myCurve[0].add(myMesh.getAbsolutePosition())" > Why wasn't that the correct way?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...