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 set the rotation of character? #76

Open
madspace1112 opened this issue Jun 20, 2024 · 7 comments
Open

How to set the rotation of character? #76

madspace1112 opened this issue Jun 20, 2024 · 7 comments

Comments

@madspace1112
Copy link

No description provided.

@ErdongChen-Andrew
Copy link
Member

You can set characterInitDir. It's in rad

@madspace1112
Copy link
Author

madspace1112 commented Jun 20, 2024

Thanks for your reply.
But, I need to set the rotation of character while playing the character no init direction.

@ErdongChen-Andrew
Copy link
Member

You want to rotate the character while playing? I don't quite understand.

@madspace1112
Copy link
Author

madspace1112 commented Jun 22, 2024

2024-06-22_04-35-02.mp4

I would like to set the rotation while playing the character.
Current, when sit down, my character keeps init direction.

@ErdongChen-Andrew
Copy link
Member

I see. I think the best way is to rotate the character model when it sits down. You can give the model a ref to do the rotation

@DennisSmolek
Copy link

I can rotate the rigid body, is there no way to set the camera rotation without using input controls?

@ErdongChen-Andrew
Copy link
Member

@DennisSmolek You can’t rotate the camera after initialization. I might add that feature later.

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

3 participants