You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the other issue, this is something I stumbled upon working on my own project, which involves placing furniture in buildings.
Getting the position and orientation of one object, could be a piece of furniture called A, to another, could be a house called B, is not trivial, at least I spent a long time figuring this out. Neither is setting the world position and orientation of A so that it is the correct position and orientation relative to B.
The following functions are what I and Nigel, who was an immense help, have found to be the most consistent way of doing this.
These are just for clarification's sake, I don't know whether the return type is good or if these should be split up into separate functions, but the point of confusion is that there are many different commands to set and get positions and it is only this combination of them that seems to work.
The text was updated successfully, but these errors were encountered:
As per the other issue, this is something I stumbled upon working on my own project, which involves placing furniture in buildings.
Getting the position and orientation of one object, could be a piece of furniture called A, to another, could be a house called B, is not trivial, at least I spent a long time figuring this out. Neither is setting the world position and orientation of A so that it is the correct position and orientation relative to B.
The following functions are what I and Nigel, who was an immense help, have found to be the most consistent way of doing this.
These are just for clarification's sake, I don't know whether the return type is good or if these should be split up into separate functions, but the point of confusion is that there are many different commands to set and get positions and it is only this combination of them that seems to work.
The text was updated successfully, but these errors were encountered: