VRCBillboard component
in progress
Fax
As a world creator, you may have found yourself in need of a way to make an object always face the local player, sometimes called Billboarding. Doing this with transforms requires update loops in Udon, which are expensive.
We’re adding native support for this to make it easier and more performant to implement!
Three new methods will be available!
(Note: always subject to change until release!)
VRCBillboard.Register(Transform target); // upright, tracks yaw only (side-to-side)
VRCBillboard.Register(Transform target, bool allowTilt); // allows up-and-down pitch changes as well
VRCBillboard.Unregister(Transform target); // cleanup is automatic but can be triggered manually
Log In
LowPolyBunny
I've had to use an "UltimateBillboard" shader to pull this off in worlds, it'd be great if there was a built-in, optimized version for it!
Adeon Writer
One use case for this would be for billboarded floating text. Because of this there might be a need for a type of tracking that always faces perpendicular to the view direction, IE, changes in player rotation would also effect it's billboard angle as well to always point directly at the view plane.
Some like this more, others hate it. But options are nice.
Fax
updated the status to
in progress