Skip to content

Feature Request: Rotation lock for Sprite3D #298

@TrickyWidget

Description

@TrickyWidget

Sprite3Ds are great for low-powered applications. For instance, you could display a forest of Sprite3D trees that would present a passable impression of a 3D environment because the 2D images always face the camera. However, there are times when that behavior would actually detract from the illusion. For example, with the current implementation if one were to look upon that forest from the top of a hill, the trees would bizarrely bend themselves over backwards to be fully facing the camera.

To address such a circumstance, I suggest adding three new properties to Sprite3D, one to lock each axis of rotation. With such a feature, one could simply set something like:

treeSprite3d.rotationXLock = true;
treeSprite3d.rotationZLock = true;

And then the trees would continue to follow the camera rotating on the Y axis but not on the X or Z, which would provide a much more robust illusion.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions