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

[Bug] Focusing on Custom Actors #2564

Open
Myterian opened this issue May 7, 2024 · 2 comments
Open

[Bug] Focusing on Custom Actors #2564

Myterian opened this issue May 7, 2024 · 2 comments
Labels
level Level building tools and components. scripting

Comments

@Myterian
Copy link

Myterian commented May 7, 2024

Issue description:
Selecting a custom actor and focusing on them via pressing F will zoom to the Scene Origin, instead of the custom actor.

Steps to reproduce:

  1. Create a custom Actor
  2. Create instance in scene hierarchy
  3. Select and focus

Minimal reproduction project:
Basic

Flax version:
1.8.6511.1

@mafiesto4
Copy link
Member

Does your custom actor setup Sphere/Box property for bounds? (in C++ use _sphere/_box fields). Mayeb we need to add C# API to set those, especially during OnTransformChanged event (which could also go to C# actor types as possible to override).

@mafiesto4 mafiesto4 added scripting level Level building tools and components. labels May 8, 2024
@Myterian
Copy link
Author

Myterian commented May 8, 2024

No, it's using c# and currently not setting _sphere or _box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level Level building tools and components. scripting
Projects
None yet
Development

No branches or pull requests

2 participants