Skip to content

Does malt support Object coordinate? #159

Answered by pragma37
HSDSZ asked this question in Q&A
Discussion options

You must be logged in to vote

Ooops! Turns out I completely misunderstood this feature.

For some reason I got it mixed with Generated Coordinates. 🤦‍♂️
I actually even implemented the feature, but I was debating whether to publish it since I'm having a hard time figuring under what circumstances it could be useful.

For getting local space coordinates you can just use an inline node with:

transform_position(inverse(MODEL), POSITION)

MODEL is the object matrix, so the inverse converts world space positions to object space positions.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@aVersionOfReality
Comment options

Comment options

You must be logged in to vote
5 replies
@HSDSZ
Comment options

@pragma37
Comment options

@aVersionOfReality
Comment options

@pragma37
Comment options

@shuanghenyanshang
Comment options

Answer selected by HSDSZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants