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

Player's "CharacterBody3D" doesn't rotate with Platforms #63004

Closed
Corruptinator opened this issue Jul 14, 2022 · 1 comment · Fixed by #63190
Closed

Player's "CharacterBody3D" doesn't rotate with Platforms #63004

Corruptinator opened this issue Jul 14, 2022 · 1 comment · Fixed by #63190

Comments

@Corruptinator
Copy link
Contributor

Godot version

v4.0.alpha11.official [afdae67] (Alpha Unstable Build)

System information

Windows10 64bit, Vulkan, RTX 2080 Super

Issue description

I noticed that the Player's CharacterBody3D is not rotating along with platforms that are also CharacterBody3D. In the (In-Progress) Documentation, it says:

Moves the body based on velocity. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a CharacterBody3D or RigidDynamicBody3D, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes.

RotationBug

Through the Gif shown above, it kinda does rotate along with the platform... SLOWLY. I can also share the project file folder in case someone wants to take a look and experiment the bug.

Steps to reproduce

Create a Node3D, then two CharacterBody3D nodes: One the Player and the other the rotating platorm.

Player's Code should be provided with the built in GDScript Template provided by the engine, while the platform code simply uses rotate_y(.005) to rotate.

Control the player and place the player on the rotating platform and you'll be able to see the rotation bug.

Minimal reproduction project

Multiplayer_Test.zip

@Calinou
Copy link
Member

Calinou commented Jul 14, 2022

cc @fabriceci

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

Successfully merging a pull request may close this issue.

2 participants