question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matrix.TransformPoint and Matrix.InverseTransformPoint seem to be broken

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jamesdsmithcommented, Feb 28, 2018

I discovered an issue in Matrix.TransformPoint, fixed in PR #772

1reaction
kagikncommented, Feb 17, 2018

@varunkumar2310 I’ve just fix using Func in GetEntitySkeletonData (Marshal.GetDelegateForFunctionPointer doesn’t allow Func) and inverting matrix themselves in InverseTransformPoint, but I’m not sure if the methods that use Matrix.InverseTransformPoint now return correct values.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found