1danielcoelho / 1danielcoelho.github.io

My personal page and blog. Check the about.md page for more details.
https://1danielcoelho.github.io/
MIT License
3 stars 0 forks source link

unreal-non-uniform-scaling-gotcha/ #5

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Gotcha when using FTransforms in Unreal Engine · Daniel Coelho's Blog

How to use non-uniform scaling FTransforms in Unreal Engine and avoid some problems

https://1danielcoelho.github.io/unreal-non-uniform-scaling-gotcha/

lordliquid commented 1 year ago

Loving the posts so far, The first portion of this might have a typo unless I am reading it incorrectly.

FVector Pos = FVector{ 50.0f, 60.0f, 70.0 }; <--- Should this be PosA here?
FVector PosAfterA = A.TransformPosition( PosA );
FVector PosAfterAInv = AInv.TransformPosition( PosAfterA );

Looks to be the same with the other examples as well. Not a big deal, most people can probably figure that out though. Very helpful information by the way!