worldPointFromScene method
VrmVector3
worldPointFromScene(
- Vector3 point
Converts a point in Flutter Scene world coordinates, such as a camera position, into the core world space of modelWorldTransform and node world transforms, which leave out the importer's handedness conversion.
World-space runtime targets such as VrmLookAtController.lookAtWorld
take points in that space; a renderer point passed unconverted lands
mirrored, behind a character that faces it on screen.
Implementation
VrmVector3 worldPointFromScene(vm.Vector3 point) {
final core = _coreFromSceneTransform.transformed3(point);
return VrmVector3(core.x, core.y, core.z);
}