Closed niusounds closed 8 years ago
<scene> <object id="@+id/obj" layout="@layout/hello_world" x="2.0" y="-2.5" z="-4.8" /> </scene>
SceneObject obj = getScene().findObjectById(R.id.obj); getScene().isLookingAt(obj); // OK (?)
<scene> <object id="@+id/obj" layout="@layout/hello_world" rotation="30 -1 0 0" x="2.0" y="-2.5" z="-4.8" /> </scene>
SceneObject obj = getScene().findObjectById(R.id.obj); getScene().isLookingAt(obj); // NG!!
Good (?)
Bad