MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Tagalongs need to face camera

Open flarb opened this issue 10 years ago • 7 comments

Isn't it kind of weird how the tagalongs don't orient towards the camera? If you turn about 90 degrees off, the tagalong will be facing so far away from you it's impossible to access.

I tried putting a simple lookat in the Tagalong's update (and restricted rotation to just Y) but I think it's messing up the visibility check with the bounding box so it floats out of view more often...but I'm not totally sure.

Any best practices for keeping a tagalong facing the player--or is this something we need to fix in the tagalong scripts?

flarb avatar Jun 17 '16 18:06 flarb

I have always added a Billboard script to my Tagalong objects. That could easily be made a requirement.

From: Ralph Barbagallo [mailto:[email protected]] Sent: Friday, June 17, 2016 11:26 AM To: Microsoft/HoloToolkit-Unity [email protected] Subject: [Microsoft/HoloToolkit-Unity] Tagalongs need to face camera (#63)

Isn't it kind of weird how the tagalongs don't orient towards the camera? If you turn about 90 degrees off, the tagalong will be facing so far away from you it's impossible to access.

I tried putting a simple lookat in the Tagalong's update (and restricted rotation to just Y) but I think it's messing up the visibility check with the bounding box so it floats out of view more often...but I'm not totally sure.

Any best practices for keeping a tagalong facing the player--or is this something we need to fix in the tagalong scripts?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/HoloToolkit-Unity/issues/63, or mute the threadhttps://github.com/notifications/unsubscribe/AMqofv3eT8r902yAuWEYIrMWzmzWDMRuks5qMubGgaJpZM4I4nU2.

david-c-kline avatar Jun 17 '16 18:06 david-c-kline

It would definitely be a cool option… Not sure if I would make it mandatory.

From: David Kline [mailto:[email protected]] Sent: Friday, June 17, 2016 11:31 AM To: Microsoft/HoloToolkit-Unity [email protected] Subject: Re: [Microsoft/HoloToolkit-Unity] Tagalongs need to face camera (#63)

I have always added a Billboard script to my Tagalong objects. That could easily be made a requirement.

From: Ralph Barbagallo [mailto:[email protected]] Sent: Friday, June 17, 2016 11:26 AM To: Microsoft/HoloToolkit-Unity [email protected] Subject: [Microsoft/HoloToolkit-Unity] Tagalongs need to face camera (#63)

Isn't it kind of weird how the tagalongs don't orient towards the camera? If you turn about 90 degrees off, the tagalong will be facing so far away from you it's impossible to access.

I tried putting a simple lookat in the Tagalong's update (and restricted rotation to just Y) but I think it's messing up the visibility check with the bounding box so it floats out of view more often...but I'm not totally sure.

Any best practices for keeping a tagalong facing the player--or is this something we need to fix in the tagalong scripts?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/HoloToolkit-Unity/issues/63, or mute the threadhttps://github.com/notifications/unsubscribe/AMqofv3eT8r902yAuWEYIrMWzmzWDMRuks5qMubGgaJpZM4I4nU2.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/HoloToolkit-Unity/issues/63#issuecomment-226846516, or mute the threadhttps://github.com/notifications/unsubscribe/AIo6gCEmW8Pz_DO-6HkR2JX0U21XVvyJks5qMuf9gaJpZM4I4nU2.

ChimeraScorn avatar Jun 17 '16 18:06 ChimeraScorn

Ah never thought about using the billboard script on it. Although I think it would be better if they only rotate on the Y axis, so any interface buttons you may have on the tagalong are easily clickable (if the thing keeps rotating it might make it tricky)

Maybe a checkbox in the inspector for billboard, or Y-only billboard on the tagalongs would be good.

flarb avatar Jun 17 '16 18:06 flarb

@flarb Isn't the Pivot Axis of the Billboard script what you're looking for?

jwittner avatar Jun 17 '16 18:06 jwittner

@jwittner oh! I haven't tried using it yet (I usually write my own billboarding stuff) I'll give it a shot, thanks!

flarb avatar Jun 17 '16 18:06 flarb

@flarb If that works for you, can we close this issue?

jwittner avatar Jun 17 '16 18:06 jwittner

Closing as last sense was that it was resolved via discussion.

jwittner avatar Jun 23 '16 05:06 jwittner