Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Rigidbody with Html? #645

Open
fax1ty opened this issue Apr 1, 2024 · 0 comments
Open

How to use Rigidbody with Html? #645

fax1ty opened this issue Apr 1, 2024 · 0 comments

Comments

@fax1ty
Copy link

fax1ty commented Apr 1, 2024

Can you tell me how to use Rigidbody correctly with Html?

If you nest Html within the Rigidbody, it will align closer to the center relative to all the children, depending on the height of the collider. How can I disable this centering? How can the children be positioned closer to the bottom-left corner (or elsewhere)? I want to set a height (position-y) value so that the UI is always displayed in the same position.

The problem is with the dynamically selected geometry. I know the height of each object and can adjust position-y accordingly.

P.S. Can you tell me more about centering? At the moment, it's a bit confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant