Matrix.TransformPoint and Matrix.InverseTransformPoint seem to be broken
See original GitHub issueWhen I ported SHVDN to C# I didn’t completely get what Matrix.TransformPoint
and Matrix.InverseTransformPoint
. Can anyone check if they’re properly implemented in C# and port the C++/CLI code properly if they’re broken?
Old implementation
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Matrix.TransformPoint and Matrix.InverseTransformPoint ...
Can anyone check if they're properly implemented in C# and port the C++/CLI code properly if they're broken? Old implementation.
Read more >What's the math behind transform.TransformPoint()?
I can seem to figure out how to break transform.TransformPoint(myVector) into a math ecuation. :( It's all easy until the rotation and scale ......
Read more >Deep Dive: Transforms in Unity - YouTube
Taking an in-depth look at the Transform component in Unity, ranging from local and world values to hierarchy management. Broken into 5 ...
Read more >Matrices and transforms - Godot Docs
The ship was lost in space, and now it's back home! It might seem strange, but it does have plenty of logic. Remember,...
Read more >Codea Craft 6: What shall we do now?
Each entity has a transformation matrix, I gather. I'd expect such a thing to be able to move, resize, and rotate the object....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I discovered an issue in Matrix.TransformPoint, fixed in PR #772
@varunkumar2310 I’ve just fix using
Func
inGetEntitySkeletonData
(Marshal.GetDelegateForFunctionPointer
doesn’t allowFunc
) and inverting matrix themselves inInverseTransformPoint
, but I’m not sure if the methods that useMatrix.InverseTransformPoint
now return correct values.