getTargetRaySpace method
Implementation
WebXRController? getTargetRaySpace() {
if ( _targetRay == null ) {
_targetRay = WebXRController();
_targetRay!.matrixAutoUpdate = false;
_targetRay!.visible = false;
_targetRay!.hasLinearVelocity = false;
_targetRay!.linearVelocity = Vector3.zero();
_targetRay!.hasAngularVelocity = false;
_targetRay!.angularVelocity = Vector3.zero();
}
return _targetRay;
}