Closed ngokevin closed 8 years ago
Issue by jcarpenter Friday Oct 23, 2015 at 21:00 GMT Originally opened as https://github.com/aframevr/aframe-core/issues/317
Enables devs to tell objects to "look at" another object. This is common and extremely useful. Implementation could be via component, with something like:
<a-kitten lookat="target: bird">
Example from Cinema 4D's implementation is as follows:
https://dl.dropboxusercontent.com/u/667711/mockups/target-example.mov
Comment by cvan Monday Oct 26, 2015 at 22:53 GMT
Also see http://threejs.org/examples/#misc_lookat
Comment by jcarpenter Wednesday Nov 11, 2015 at 01:41 GMT
This would also be relevant for particles.
Comment by ngokevin Friday Nov 20, 2015 at 08:33 GMT
https://github.com/MozVR/aframe-core/pull/479
Comment by ngokevin Friday Nov 20, 2015 at 08:38 GMT
Related topic: up vectors. Probably can be a separate component later on.
Issue by jcarpenter Friday Oct 23, 2015 at 21:00 GMT Originally opened as https://github.com/aframevr/aframe-core/issues/317
Enables devs to tell objects to "look at" another object. This is common and extremely useful. Implementation could be via component, with something like:
Example from Cinema 4D's implementation is as follows:
https://dl.dropboxusercontent.com/u/667711/mockups/target-example.mov